Table of contents
- 1. Summary
- 2. Syntax
- 3. Examples
- 4. Specifications
- 5. Browser compatibility
- 6. See also
« CSS « CSS Reference
Summary
The transition-timing-function CSS property is used to describe how the intermediate values of the CSS properties being affected by a transition effect are calculated. This in essence lets you establish an acceleration curve, so that the speed of the transition can vary over its duration.
This acceleration curve is defined using one
<timing-function> for each property to be transitioned.
Note: This implementation of the CSS
transition-timing-function is based on a draft specification and is therefore experimental : the syntax is subject to change.- Initial value
:
ease - Applies to: all elements,
:beforeand:afterpseudo elements - Inherited :no
- Media:
interactive - Computed value : as specified
Syntax
-moz-transition-timing-function: <timing-function> [, <timing-function>]*
where:
- Each
<timing-function>represents the timing function to link to the corresponding property to transition, as defined intransition-property.
Examples
There are several examples of CSS transitions included in the main CSS transitions article.
Specifications
- CSS Transitions Module Level 3 (Working Draft)
Browser compatibility
| Browser | Lowest Version |
|---|---|
| Internet Explorer | --- |
| Firefox (Gecko) | 4.0 (2.0) -moz |
| Opera | --- |
| Safari (WebKit) | 3.1 -webkit |

