David Emery Online

Hi there, I’m David. This is my website. I work in music for Apple. You can find out a bit more about me here. On occasion I’ve been known to write a thing or two. Please drop me a line and say hello. Views mine not my employers.

Signup to receive the latest articles from de-online in your inbox:

CSS Animation

6 February 2009

WebKit now supports explicit animations in CSS. As a counterpart to transitions, animations provide a way to declare repeating animated effects, with keyframes, completely in CSS.

Yet more nice improvements in WebKit, although I think they’re butting right up against the boundaries of what should be in CSS and what should be in javascript (not that there are elegant ways of doing this natively in javascript anyway).

What’s most impressive is that this is already supported on the iPhone, and the performance is exceptional – the leaves demo (which will only work in a recently nightly or on an iPhone) runs as smoothly on the iPhone as it does on my MacBook, but my MacBook uses 50% of its CPU while doing it…

Visit ➔