W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2012

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

From: Simon Fraser <smfr@me.com>
Date: Fri, 06 Jul 2012 10:55:58 -0700
Cc: public-fx@w3.org
Message-id: <9786CCAF-9E90-4E86-9A0D-91E859E10CB8@me.com>
To: Mårten Björk <marten@gosse.se>
On Jul 5, 2012, at 5:17 AM, Mårten Björk <marten@gosse.se> wrote:

> 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"; 

Let's keep the discussion on www-style: <http://lists.w3.org/Archives/Public/www-style/2012Jul/0145.html>

Simon
Received on Friday, 6 July 2012 17:56:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 July 2012 17:56:27 GMT