Custom properties (sometimes referred to as CSS variables or cascading variables) are entities defined by CSS authors that contain specific values to be reused throughout a document. They are set using custom property notation (e.g., --main-color: black;) and are accessed using the var() function (e.g., color: var(--main-color);).
element {
--main-bg-color: brown;
}
element {
background-color: var(--main-bg-color, fallback);
}
Source: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties