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

Re: transitions vs. animations

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 8 Apr 2010 10:07:16 -0700
Cc: Chris Marrin <cmarrin@apple.com>, "www-style@w3.org list" <www-style@w3.org>
Message-Id: <6DBE86D5-7315-4D13-A09B-2F282DBAE2A9@gmail.com>
To: Håkon Wium Lie <howcome@opera.com>

On Apr 8, 2010, at 10:01 AM, Brad Kemper wrote:

> For 3c you do the same thing, but in the CSS you add ',sway 1s 1s ' to the 'animation' property of ".two". 

Sorry, I left out the iterations. This is what I meant for ".two":

.two {
  left: 500px;
  animation: bounce 0.2s 5, sway 1s 1s infinite;
}
Received on Thursday, 8 April 2010 17:07:57 GMT

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