This note aims to explain the difference between them and hopefully, at the end enlighten you more on how and when to use them. Prerequisites I am going to assume that you already have basic knowledge on Html elements and CSS selectors. And with ...

Markdown supported · ⌘↵ to post
Great article! Thank you very much. I now understand the difference much better and have a better idea how to use each one. I have signed up for your newsletter and look forward to reading more of your articles.
Malik Dev
Great explanation, but The variable definitions in :root should start with "--", and you maybe forgot