News for hackers. Stuff that matters.
Re:Ask HN: Anyone have a really smart way to organize css? by xdrone on Monday March 28, 2011 @01:46PM (#2379263)
my css is pretty simplistic like this also.

one thing to do is to place class names based on the url with your id's. the class name can be generated from the request_uri (assuming the html code is in a view/template/include).

example: <div id="container" class="contact_us">

then if you need tweaks to a specific page, just add #container.contact_us { foo: bar... }

There are no comments on this comment yet.