A Ashley Nolan poll in November 2016 showed that 84% of front-end developers use a CSS preprocessor. At the same time, developers consider variables to be the most useful preprocessor feature. No wonder. Variables help organize code, avoid duplication, improve readability, and make refactoring easier.
But the main drawback of preprocessors is that styles need to be compiled, you cannot run code directly in a browser.
On this subject, we recommend that you look at the report by Vadim Makeev “My vanilla CSS”
CSS custom properties perform the function of native variables in CSS and do not have the specified restrictions. And more recently, they are Continue reading