DEV Community

Discussion on: CSS Variables

Collapse
 
cristijora profile image
Cristi Jora

Yess CSS variables ftw. It's time to slowly get rid of scss. Other then nesting and some mixins it doesn't add a bunch of value now since css gets more of these features out of the box.

Some neat things you can do with css variables is easily control font sizes, spacings, colors on different viewports/pages. You could even do dark mode really easily by changing some css variables.

Collapse
 
samanthaming profile image
Samantha Ming

Dark mode is a huge beneficiary of CSS variable! let me add your input to my code notes! thanks for sharing 👏