background preloader

CSS Animations

Facebook Twitter

CSS3 3D Transform Animation. Recreating the OS X Dock with CSS - ZURB Playground - ZURB.com. CSS animations. CSS animations make it possible to animate transitions from one CSS style configuration to another.

CSS animations

Animations consist of two components, a style describing the CSS animation and a set of keyframes that indicate the start and end states of the animation's style, as well as possible intermediate waypoints along the way. There are three key advantages to CSS animations over traditional script-driven animation techniques: They're easy to use for simple animations; you can create them without even having to know JavaScript. 3D Transforms and Animations < CSS. 3D Transforms were first implemented by the Safari/WebKit team ages ago.

3D Transforms and Animations < CSS

Support in other browsers is still variable, but getting better. CSS3 animation and 2D transforms have been implemented in Safari, Firefox, Opera and even Internet Explorer 10, but in this article we're taking it a step further using keyframes to set up perpetual animation effects in 3D space. These effects will work in WebKit (Safari/iPhone/iPad and Chrome) and Mozilla (Firefox) browsers. Some simpler effects will work in Internet Explorer 10, but they don's support the preserve-3d setting needed for proper 3D layouts. 1. CSS property: -webkit-animation.