Skip Navigation

CSS variables

gomakethings.com CSS variables

Yesterday, I mentioned that I love CSS variables. Today, I thought I’d explain what they are and how they work, for those who aren’t already familiar with them. Let’s dig in! How to define CSS variables You define a CSS variable by typing its name with a leading double-dash (--). It uses the same sy...

CSS variables
9
9 comments
9 comments