CSS Transitions

CSS Transitions is a module of CSS that lets you create gradual transitions between the values of specific CSS properties. The behavior of these transitions can be controlled by specifying their timing function, duration, and other attributes.




Using CSS transitions
Step-by-step tutorial about how to create transitions using CSS. This article describes each relevant CSS property and explains how they interact with each other.


Specification Status Comment
CSS Transitions Working Draft Initial definition.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help! (en-US)

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 1.0 -webkit (en-US)
(Yes) 4.0 (2.0) -moz (en-US)
16.0 (16.0)
10.0 11.6 -o (en-US)
12.10 #
3.0 -webkit (en-US)
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 2.1 -webkit (en-US) (Yes) 4.0 (2.0) -moz (en-US)
16.0 (16.0)
? 10.0 -o (en-US)
12.10 #
3.2 -webkit (en-US)

See also

  • Related to CSS Transitions, CSS Animations provide finer control over animated properties.