Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS transitions — is there a way to auto-start? Re: transitions — is there a way to auto-start?

#103253

@Snillor CSS animations are self-invoking transitions, with extra capabilities. The answer is yes, but you have to be willing to use ‘animations’ and not ‘transitions’.

Think of the definition of the word ‘transition’. It reflects a change between two states. With the way CSS is set up, a single selector cannot have two independent states, that’s what pseudo-classes are for.