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

Re: [css-animations] reverse animation-direction

From: Rik Cabanier <cabanier@gmail.com>
Date: Wed, 20 Apr 2011 08:52:32 -0700
Message-ID: <BANLkTikHKvMyCdtk8gak1UNoXt453Pacww@mail.gmail.com>
To: Gabriel Gilini <gabrielgilini@gmail.com>
Cc: www-style@w3.org
Maybe 'animation-direction: alternate', 'animation-iteration-count: 2' and
an 'animation-delay' with negative length of the animation would do the
trick.

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%.
>
> ps: I'm sorry if this is a recurrent theme, but I couldn't find any result
> searching the list archives.
>
> Regards,
> Gabriel Gilini
>
>
Received on Wednesday, 20 April 2011 15:52:59 GMT

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