The Art of Using CSS Variables

Styling CSS without SCSS

What Are CSS Variables?

Advantages of CSS Variables

1. Native support

2. They Also Work in Shadow DOM

How do CSS Variables Work?

Properties of CSS variables

1. They follow standard cascade rules

2. They can be used with fallbacks

A Simple Setup to Get You Going

Conclusion

Developer, writer and a pure genious ... I may have exagerated a little ... have a look: https://ziga-petek.medium.com/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store