Your Search Results

    -moz-transition Redirect 1

    This is an experimental technology
    Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.


    The CSS transition property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay. It allows to define the transition between two states of an element. Different states may be defined using pseudo-classes like :hover or :active or dynamically set using JavaScript.

    • Initial value the concatenation of the initial values of its longhand properties:
      • transition-delay: 0s
      • transition-duration: 0s
      • transition-property: all
      • transition-timing-function: ease
    • Applies to all elements, ::before and ::after pseudo-elements
    • Inherited no
    • Media interactive
    • Computed value as specified
    • Animatable no
    • Canonical order order of appearance in the formal grammar of the values


    Formal syntax: [ none | <single-transition-property> ] || <time> || <timing-function> || <time>

    Note that order is important within the items in this property: the first value that can be parsed as a time is assigned to the transition-duration, and the second value that can be parsed as a time is assigned to transition-delay.

    See When property value lists are of different lengths for details on how things are handled when lists of property values aren't the same length. In short, extra transition descriptions beyond the number of properties actually being animated are ignored.


    There are several more examples of CSS transitions included in the main CSS transitions article.


    Specification Status Comment
    CSS Transitions Working Draft  

    Browser compatibility

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

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,
    Hide Sidebar