CSS is a great language. One of the best parts of it is the fact that it now supports variables. Today, we're going to take a look at how they work, and what makes them so great.
So how do they work?
CSS variables are created using the following syntax:
Variables are prefixed with two dashes, and can contain any alpha-numeric character. To later reference the variable, use this syntax:
This references the variable that you created. It's that simple; just create the variable and use it.
The Advantages of Variables
First of ...