News for hackers. Stuff that matters.
Re:How We Could Write Better CSS by cliveowen on Tuesday September 24, 2013 @01:01PM (#6439121)
I think there's a big need for an agreed upon standard for writing CSS. There's a lot of beginner stuff out there, but what sorely lacks is an idiomatic way to write proper CSS. You should write base styles and extend them, but to what extent? How should you group the properties? Heck, how should you structure the whole thing?

We need this. I've been thinking the same thing as the author for quite some time, I'm glad someone has at least put the idea out there.

Re:How We Could Write Better CSS by sriharis on Tuesday September 24, 2013 @01:20PM (#6439286)
I think http://smacss.com is what you're looking for.
Re:How We Could Write Better CSS by cliveowen on Tuesday September 24, 2013 @01:23PM (#6439310)
Thank you! I never heard of this, it's exactly what I was looking for.
Re:How We Could Write Better CSS by camus on Tuesday September 24, 2013 @01:27PM (#6439338)
CSS sucks,period. When people come up with an improved standard then we can discuss about writing better CSS. Today ,without CSS preprocessors, writing CSS is a nightmare. We'll write proper css when we get a proper language ( and when the box model get fixed on every browser). Until then I dont want to here about "agreeing on a standard for writing CSS". The spec should be the standard.