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

Re: transitions vs. animations

From: Simon Fraser <smfr@me.com>
Date: Tue, 06 Apr 2010 08:59:13 -0700
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Chris Marrin <cmarrin@apple.com>, "www-style@w3.org list" <www-style@w3.org>
Message-id: <226301D3-0B63-42F1-9D1C-595C8C6D43C8@me.com>
To: Brad Kemper <brad.kemper@gmail.com>
On Apr 5, 2010, at 11:07 PM, Brad Kemper wrote:

> transition: left 1s play(bounce 1s infinite);

There's a problem linking animations with transitions that hasn't been mentioned yet. What do you expect to happen in this case:

.button {
  left: 100px;
  transition: left 1s play(bounce 1s);

.button:hover {
  left: 100px;

Here, left isn't changing on :hover, so the transition wouldn't run, and thus nor would the bounce animation. Is that what you want?

Controllable animations are still desired for this use case.

Received on Tuesday, 6 April 2010 15:59:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:44 UTC