1.

What do CSS Custom properties variables mean?

Answer»

Custom PROPERTIES (sometimes referred to as CSS variables or cascading variables) are defined by users that contain specific values to be reused throughout a document. The value is SET using -- notion. And the values are accessed using the VAR() function.

:ROOT { --main-bg-COLOR: brown}.one { color: white; background-color· var (--main-bg-color); margin: l0px, width: 50px, height: 5Opx; display: inline-block;}


Discussion

No Comment Found