css3 prefixes browser code example

Example 1: transition prefixes css

.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. */

Example 2: css browser prefixes

Android: -webkit-
Chrome: -webkit-
Firefox: -moz-
Internet Explorer: -ms-
iOS: -webkit-
Opera: -o-
Safari: -webkit-

Tags:

Css Example