Custom properties can be hex values, color functions, units, strings of text and more. Custom properties can make code easier to maintain because you can update one value and have it reflected in multiple places. You can set the value of a custom property with another custom property. There is a big gotcha with custom properties that use other custom properties.

26m read timeFrom css-tricks.com
Post cover image

Sort: