CSS animation

I am trying my hands on the shorthand format of animation rules but not working. The style below worked when specified individually. Please what is wrong with it:

-moz-animation: 5s ease 0 1 alternate forwards running name;

You should drop the -moz- prefix now, it hasn’t been needed since FF15 back in 2012.
Some old Android browsers may still need -webkit- but the important thing is you need the version with no prefix.

Thanks SamA74. I dropped the vendor prefix and it still didnt work only to discover that the duration, delay need to be in that order.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.