3 ms·
Why not use semantic class names with the grid system? That's what a tool like Compass (http://compass-style.org/ http://compass-style.org/) will do for you. A
by jefflinwood 16y ago
Why not use semantic class names with the grid system? That's what a tool like Compass (http://compass-style.org/ http://compass-style.org/) will do for you.
Also, if you're using a template or theme, many of the changes you'd need to make if you were changing the layout would only be made in one place.
- wdewind 16y agoTo be honest I hear you, if you use semantic class names tied to a grid, and keep the class layering to a minimum it's totally fine. But I've just never found a use for CSS frameworks, SASS etc. (and I work on a relatively large public site). CSS has just never been the bottleneck for me, and the few times I've wanted to use variables and other complications have usually been for "clever" hacks, nothing production quality IMO. As for your second point, it really depends on the coupling. If you are using a grid system, like I was talking about, it's pretty rare that you would ever want to restyle EVERY single 760px wide div (which just leads to more class layering and more of a headache).