CSS Custom Properties (Native Variables) In-Depth

gospodarets.com / filed under HTML & CSS

I thought to start from explaining the purpose of having variables in CSS but actually popularity of CSS pre/postprocessors already did that. Couple examples: color variables for branding consistent components properties (layout, positioning etc.) avoid code duplications Yes, of course, you still can search and find/replace all you need manually in your codebase but it’s […]

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission