An introduction to CSS custom properties

One of the single best features of CSS processors is variables. Having the ability to declare once and reuse the variable across your project should not be optional in any system.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Krisztian is co-founder of Let.
Read more
Promo for Future Cards with the tagline "Leave the busywork to the machines"
What makes good designers great? Stand out from the crowd with these 9 expert tips
A desktop with a colourful portfolio on screen
How to create an online portfolio: Steps to curating your own corner of the web
Papercut diagrams showing aspects of colour theory
Why colour is such a powerful tool in UX design
Studio Moross graphics
12 skills to help designers get ahead in 2025, advice from the pros
Nike's trainer that comes apart
4 trends in sustainable design, and how you can adopt them
graphic designer
'It's a genie out of the bottle': How AI is impacting graphic design
Latest in CSS
css secrets
11 CSS secrets you need to know in 2020
12 tips for amazing CSS animation
CSS Houdini
CSS Houdini: All you need to know about the hottest APIs
State of the art CSS
8 state-of-the-art CSS features (and how to use them)
Bulma
Get started with Bulma
The best CSS frameworks
10 best CSS frameworks in 2020
Latest in How to
Venusaur art
How to paint Pokémon's Venusaur in Photoshop
Babiru DaVinci Resolve colour tips; a red creature in armour, it has a large toothy grin, in the background is a cyberpunk style city
How to achieve a bold cinematic look in animation, using DaVinci Resolve and Fusion Studio
Gesture drawing: all you need to know plus ways to practise in 2 and 5 minutes
How to draw a male figure
drawing of a naked woman with someone drawing it
How to draw a female figure
GIMP in pro work
Making GIMP 3.0 work for pro results: is it possible?