Back to Glossary
FrontendBeginner Friendly

What is CSS Variables?

Custom properties in CSS that let you define reusable values like colours and spacing.

Why It Matters

CSS variables make it easy to maintain consistent styling and support features like dark mode.

Real-World Example

Defining --primary-colour: #3b82f6 once and using it throughout your stylesheet.

“Understanding terms like CSS Variables matters because it helps you have better conversations with developers and make smarter decisions about your software. You do not need to be technical. You just need to know enough to ask the right questions.”

Callum Holt, Founder, 13Labs

Learn More at buildDay Melbourne

Want to understand these concepts hands-on? Join our one-day workshop and build a real web application from scratch.