paint-brush
An Introduction to CSS Variablesby@awh

An Introduction to CSS Variables

by AWH5mJune 10th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Variables let you set common values like colors and sizes in a single place then reference the variable when you need to use those values. Variables are part of the normal cascade of CSS properties. They are case-sensitive, so --foo and --Foo are not the same variable. The values of your variables can be many different things as basically any valid CSS value can be the value of a variable. You don’t need any build tools or pipelines; they are just part of what the browser uses.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - An Introduction to CSS Variables
AWH HackerNoon profile picture
AWH

AWH

@awh

We are an elite team of digital product creators and data problem solvers.

About @awh
LEARN MORE ABOUT @AWH'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

AWH HackerNoon profile picture
AWH@awh
We are an elite team of digital product creators and data problem solvers.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Moomoo
Coffee-web