W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: [css-animations] reverse animation-direction

From: Gabriel Gilini <gabrielgilini@gmail.com>
Date: Mon, 25 Apr 2011 08:29:24 -0300
Message-Id: <1D863ECC-3D6B-4612-B923-23439AEFF81F@gmail.com>
Cc: Rik Cabanier <cabanier@gmail.com>, "www-style@w3.org" <www-style@w3.org>
To: Simon Fraser <smfr@me.com>

>> On Tue, Apr 19, 2011 at 9:58 AM, Gabriel Gilini <gabrielgilini@gmail.com> wrote:
>> Hi.
>> 
>> I always missed a "reverse" value for the animation-direction property.
>> 
>> Sometimes you have a complex animation that will be applied to two different elements, but one of them should be in reverse. It just feels silly copying the whole animation and reversing the percentages to get the desired effect. So, a value named "reverse" would define that, for that rule, the animation should always run on reverse mode, from 100% to 0%.
> 
> You'd need 4 values for animation-direction if you were to do this (each combination of the existing 'alternate' and your 'reverse'):
> 
> normal
> alternate
> normal-reverse
> alternate-reverse

Indeed, that sounds perfect. 

So, no one else is interested on this one? It's a simple modification, but it just makes sense to add those, and it wouldn't break anything. 

Gilini
Received on Monday, 25 April 2011 11:29:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT