22. Variables & Custom Properties : CSS

 Variables & Custom Properties

Variables & Custom Properties

Try not to get confused and begin comparing these factors and the other programming languages. The factors in CSS are not quite the same as those of programming languages.

Variables - Suppose, we need to make a variable for the background color. We can make it with the '- - ' icon. Factors in CSS assist us with allotting similar properties to various components.

The significant highlight recollects about these factors is they can be utilized inside their degree as it were.

Root - To make it work, we can compose it again or can utilize the - root property. Any custom properties written in the root variable can be gotten to any place in the code. we can make a global variable in terms of programming language

Post a Comment

0 Comments