Custom properties (--*)

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.

Properties name that are prefixed with --, like --example-name, represent custom properties that contains a value than can be reused throughout the document, using a variable (var()).

Custom properties participate in the cascade: each of them can appear several times, and the value of the variable will match the value defined in the custom property decided by the cascading algorithm.


Document Tags and Contributors

 Contributors to this page: yisibl, teoli
 Last updated by: yisibl,