Using CSS Variables
If you’re coming from the world of preprocessors, you must be used to using a variable by just referencing its name. With native css variables, things are a little different.
We'll cover the following...
Once a variable has been defined and assigned a value, you can go ahead and use it within a property value. There’s a bit of a gotcha though.
If you’re coming from the world of preprocessors, you must be used to using a variable by just referencing ...