Web features explorer

Custom properties

Widely available since 2019-10-05
Tags: css Groups: CSS

Custom properties are CSS properties prefixed with -- that set values you can reuse with the var() function. For example, you can set a --key-color property to reuse as border-color: var(--key-color). Also known as CSS variables.

Learning resources on MDN

Browser support (view on caniuse.com)