#css-variables

[ follow ]
Smashing Magazine
4 days ago
JavaScript

The Times You Need A Custom @property Instead Of A CSS Variable - Smashing Magazine

Custom properties and CSS variables differ but are related. Custom properties provide more freedom and flexibility, especially in designing complex animations. [ more ]
LogRocket Blog
3 months ago
JavaScript

How to use CSS variables like a pro - LogRocket Blog

CSS now supports using custom properties, also known as CSS variables, to avoid repetitive CSS property values.
CSS variables provide a way to use variables in CSS like you would in a programming language, making your code more maintainable. [ more ]
[ Load more ]