CSS - (Browser) Vendor (Property) Prefix

About

Browser vendors can add prefixes to experimental or nonstandard CSS properties.

List

Typically the vendors use these prefixes:

  • -webkit- (Chrome, newer versions of Opera.)
  • -moz- (Firefox)
  • -o- (Old versions of Opera)
  • -ms- (Internet Explorer)

Example

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

Documentation / Reference


Powered by ComboStrap