CSS Animations
Encyclopedia
CSS Animations is a proposed module for Cascading Style Sheets
that allows for the animation
of XML
elements using CSS
.
had announced its intention to include CSS animation, transitions, and transforms as features of WebKit. It also announced the implementation of both implicit and explicit animation through CSS in February 2009. CSS animation has also been put forth as a feature of CSS3, the ongoing draft specification managed by the W3C.
, Safari
4 and 5 and Safari for iPhone
, Android 2.x and 3.x, the RIM OS6 web browser, with the
files.
or, to a lesser-used extent, SMIL
; others have claimed that it is a move by Apple Inc., the main sponsor of the WebKit project, to sidestep the inclusion of Adobe Flash
(and the incumbent Flash animations) on the company's iPhone OS
line of mobile devices which use Safari
.
Cascading Style Sheets
Cascading Style Sheets is a style sheet language used to describe the presentation semantics of a document written in a markup language...
that allows for the animation
Animation
Animation is the rapid display of a sequence of images of 2-D or 3-D artwork or model positions in order to create an illusion of movement. The effect is an optical illusion of motion due to the phenomenon of persistence of vision, and can be created and demonstrated in several ways...
of XML
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
elements using CSS
CSS
-Computing:*Cascading Style Sheets, a language used to describe the style of document presentations in web development*Central Structure Store in the PHIGS 3D API*Closed source software, software that is not distributed with source code...
.
History
While the pseudo-class:hover
has been used to generate rudimentary animations for years, extensions of CSS into the realm of animation were minimal until the late 2000s. As early as 2007, WebKitWebKit
WebKit is a layout engine designed to allow web browsers to render web pages. WebKit powers Google Chrome and Apple Safari and by October 2011 held over 33% of the browser market share between them. It is also used as the basis for the experimental browser included with the Amazon Kindle ebook...
had announced its intention to include CSS animation, transitions, and transforms as features of WebKit. It also announced the implementation of both implicit and explicit animation through CSS in February 2009. CSS animation has also been put forth as a feature of CSS3, the ongoing draft specification managed by the W3C.
Browser support
As of June 2011, Firefox 5 includes CSS Animation support. CSS animation is also available as a module in the nightly builds of WebKit as well as Google ChromeGoogle Chrome
Google Chrome is a web browser developed by Google that uses the WebKit layout engine. It was first released as a beta version for Microsoft Windows on September 2, 2008, and the public stable release was on December 11, 2008. The name is derived from the graphical user interface frame, or...
, Safari
Safari (web browser)
Safari is a web browser developed by Apple Inc. and included with the Mac OS X and iOS operating systems. First released as a public beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3 "Panther". Safari is also the...
4 and 5 and Safari for iPhone
IPhone
The iPhone is a line of Internet and multimedia-enabled smartphones marketed by Apple Inc. The first iPhone was unveiled by Steve Jobs, then CEO of Apple, on January 9, 2007, and released on June 29, 2007...
, Android 2.x and 3.x, the RIM OS6 web browser, with the
-webkit-
prefix. It is also used in iTunes 9 to support iTunes LPITunes LP
iTunes LP is a format for interactive album artwork introduced by Apple Inc. on the 9 September 2009. It is similar to the CMX format being developed by the 4 major record labels, and operates within the iTunes 9 software, allowing the user to view multimedia elements alongside the music...
files.
Controversy
The specification of CSS animation has drawn concern from those who prefer animation through JavaScriptJavaScript
JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles....
or, to a lesser-used extent, SMIL
Synchronized Multimedia Integration Language
SMIL , the Synchronized Multimedia Integration Language, is a W3C recommended XML markup language for describing multimedia presentations. It defines markup for timing, layout, animations, visual transitions, and media embedding, among other things...
; others have claimed that it is a move by Apple Inc., the main sponsor of the WebKit project, to sidestep the inclusion of Adobe Flash
Adobe Flash
Adobe Flash is a multimedia platform used to add animation, video, and interactivity to web pages. Flash is frequently used for advertisements, games and flash animations for broadcast...
(and the incumbent Flash animations) on the company's iPhone OS
IPhone OS
iOS is Apple's mobile operating system. Originally developed for the iPhone, it has since been extended to support other Apple, Inc. devices such as the iPod Touch, iPad, and Apple TV. Apple, Inc. does not license iOS for installation on third-party hardware...
line of mobile devices which use Safari
Safari (web browser)
Safari is a web browser developed by Apple Inc. and included with the Mac OS X and iOS operating systems. First released as a public beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3 "Panther". Safari is also the...
.
External links
- Initial Apple Proposal
- CSS Animations Module Level 3 draft on the W3CWorld Wide Web ConsortiumThe World Wide Web Consortium is the main international standards organization for the World Wide Web .Founded and headed by Tim Berners-Lee, the consortium is made up of member organizations which maintain full-time staff for the purpose of working together in the development of standards for the...
website