When I create websites, I often set global variables in CSS file.
For example,
1 | /* style.css */ |
If you set variables in the :root, you can use these values anytime and anywhere in your frontend project.
For example,
1 | .wrapper { |
This makes your website theme more consistent and, above all, even easier to code.