transition prefixes css

48

.example {
    -webkit-transition: background-color 500ms ease-out 1s;
    -moz-transition: background-color 500ms ease-out 1s;
    -o-transition: background-color 500ms ease-out 1s;
    transition: background-color 500ms ease-out 1s;
}

/* IE10 (the first stable version of IE to support transition)
does not require the -ms- prefix. */

Comments

Submit
0 Comments