@noleli I’m assuming this works, because the user specified styles get applied first, because the !important of the user agent stylesheet makes it kick in last? And that’s how the initial state of the transition is set?
I never thought of !important styles being applied *after* regular ones in a “time” sense. 😅
@amxmln it’s not a time thing, but a precedence thing. The cascade (origin, specificity, layers, etc.) determines which styles are applied. A feature of the cascade is that active transitions take precedence over everything else. Essentially it’s telling something “take forever to get to your destination even if your destination is really high priority.”