News for hackers. Stuff that matters.
Re:Why I don’t use CSS preprocessors by Silhouette on Saturday April 02, 2016 @10:24AM (#11411619)
You can write bad code in any language, as the saying goes.

However, I've seen projects with a few CSS variables defining the base colours for their scheme and perhaps some tints and shades, and then a second layer of variables defined in terms of the base ones but with more role-based names like heading text colours and focused primary button backgrounds and so on. It's a simple, practical model that has proved very easy to work with and in some cases has stood the test of time for quite a few years now.

There are no comments on this comment yet.