Got a tip for us? Share it...

CSS Animation Coming to Safari, Already in iPhone. Less Dependence on Flash?

The Webkit blog reports that the latest WebKit builds now support explicit animations in CSS.

CSS Animations is one of the enhancements to CSS proposed by the WebKit project that weve been calling CSS Effects (eg. gradients, masks, transitions). The goal is to provide properties that allow Web developers to create graphically rich content. In many cases animations are presentational, and therefore belong in the styling system. This allows developers to write declarative rules for animations, replacing lots of hard-to-maintain animation code in JavaScript.

The features are presently unique to WebKit but can be viewed by using one of the beta nightly builds or simply through your iPhone/iPod Touch. Apple has already implemented these animations, as well as 3D support, within the iPhone's mobile Safari.

Those browsing using an iPhone or a nightly Webkit build can see the sample pages in action: falling leaves (pictured), bouncing box, and pulse ("the new blink").

These features should eventually make their way into Mac OS X's Safari builds and the features have also been proposed for inclusion into the actual CSS standard. As we've previously detailed, Apple has been making efforts to push web-standard technologies possibly as a way to reduce dependance on Adobe's Flash player. The incorporation of animation into CSS could certainly threaten one of the major uses of Flash on the internet. Apple has also been investing in other core web technologies as the basis for their Mobile Me web applications.

Top Rated Comments

(View all)

39 months ago
Am I missing something here but what about video? that still leaves another HUGE chunk of uses for flash. Plus if IE doesn't implement this a lot of developers won't take it into account so it will negate the point. That's why Flash is so big it solves problems with browser's poor standards.
Rating: 0 Positives / 0 Negatives
39 months ago
I think so...or at least I hope so....

nevertheless I use Click to Flash...

I hate Flash....:D
Rating: 0 Positives / 0 Negatives
39 months ago
Great. :rolleyes: Another feature that will be only implemented in some browsers and differently in all that do. Also, I have a feeling we're all going to be really sick of those animations in just a few months after they start being used commonly. (I'm already getting sick of the pulse animation, or is it just making me sick?)

jW
Rating: 0 Positives / 0 Negatives
39 months ago

Am I missing something here but what about video? that still leaves another HUGE chunk of uses for flash. Plus if IE doesn't implement this a lot of developers won't take it into account so it will negate the point. That's why Flash is so big it solves problems with browser's poor standards.


You mean this?

http://webkit.org/blog/140/html5-media-support/

Another nice feature from the HTML5 draft specification is now available in the WebKit nightly builds for Mac OS X. The new HTML5 and elements add native support for embedding video and audio content in web pages.

Rating: 0 Positives / 0 Negatives
39 months ago
I doubt that we'll see full support in the iPhone version of Safari anytime soon. We'll likely see in the Mac OS X Safari builds first.
Rating: 0 Positives / 0 Negatives
39 months ago
This is pretty neat but it will not do away with Flash.
Rating: 0 Positives / 0 Negatives
39 months ago

I doubt that we'll see full support in the iPhone version of Safari anytime soon. We'll likely see in the Mac OS X Safari builds first.


It's in the iPhone Safari already. Click on those links from your iPhone or iPod Touch. (And read the article more carefully :) )

arn
Rating: 0 Positives / 0 Negatives
39 months ago
so rather than fix flash lets add something else to the mix....great.
Rating: 0 Positives / 0 Negatives
39 months ago
Hopefully something like adblock will be able to turn this off too. Call me old, but I don't want my web experience to be like a movie with all sorts of transitions and such, I want it to be like a book. A book with limitless pages, but a book.

Plus this does nothing to change the millions of Flash sites out there that I currently can't see on my phone.

Get off my lawn,
Sheldon
Rating: 0 Positives / 0 Negatives
39 months ago
falling leaves on my iPhone--pretty cool! Definitely effective. Doesn't seem to affect the overall speed one way or the other.
Rating: 0 Positives / 0 Negatives

[ Read All Comments ]