animation-delay should support CSS counters as part of their value

Hi,

One suggestion regarding CSS animations: the animation-delay property should support CSS counters as part of it's value, like animation-delay: counter(row) "s";

Use case: Fading in a bullet list, one item at a time. Instead of declaring delays for every single list item, the counter could be used.

It could even be used in conjunction with the calc function: animation-delay: calc( counter(row)/2 ) "s"; 


Mårten Björk

Received on Friday, 6 July 2012 07:49:02 UTC