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

Re: transitions vs. animations

From: Håkon Wium Lie <howcome@opera.com>
Date: Sat, 20 Mar 2010 14:40:26 +0100
Message-ID: <19364.53322.788173.930052@gargle.gargle.HOWL>
To: Simon Fraser <smfr@me.com>
Cc: www-style@w3.org
Also sprach Simon Fraser:

 > <http://smfr.org/misc/animation-transition.html>

That's a cool demo. One transition (left to right movement) and one
animation (bumpy movements) are combined to create a bumpy
right-moving box.

However, you could also express this with two animations:

  http://people.opera.com/howcome/2010/tests/animations.html

I.e., you don't need transitions for this. 

Now, for the reverse movement (right to left), both examples have
issues. It seems hard to attach animations to "non-hover" events. This
is a problem worth fixing, I believe.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Saturday, 20 March 2010 13:41:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:44 UTC