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

Re: transitions vs. animations

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 5 Apr 2010 23:08:01 +0200
Message-ID: <19386.20785.810332.362658@gargle.gargle.HOWL>
To: Chris Marrin <cmarrin@apple.com>, "www-style@w3.org list" <www-style@w3.org>
I wrote:

 >  > >  @animation bounce {
 >  > >    from { top: 0; }
 >  > >    33%  { top: -20px; }
 >  > >    66%  { top: 20px; }
 >  > >    to   { top: 0; }
 >  > >  }

 >  > You're trying to come up with a single syntax that encompasses the
 >  > functionality of transitions and animations. But in doing so you
 >  > are introducing a confusing mix of specifying property values in
 >  > two places: in the style rule, and in the @animation rule.
 > 
 > I'm confused. The @animation thing is in the current specifications,

To clarify slightly: it's called @keyframes in the current propopsal.
But same thing, same syntax.

  http://dev.w3.org/csswg/css3-animations/

Cheers,

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Monday, 5 April 2010 21:08:44 GMT

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