A better way to write CSS? Sure, tell me more.
A better way to write CSS? Sure, tell me more.
I've been combining jquery with css to generate my random backgrounds. As I was doing it, I started wishing CSS had some extra features, like variables and math.
"What, like SASS (Syntactically Awesome Stylesheets), and LESS (Leaner CSS), CSS preprocessors?" You say. Yeah, exactly. This article, an introduction to CSS preprocessors is a good read into the basics, with links to a number of other useful articles.
In essence, you can abstract to make CSS more modular and scalable.