@tkenny seems you missed his point. He's not advocating hacks. @csswizardry is advocating a best practice for handling them.— Adam Stacoviak (@adamstac) April 18, 2013
From his post on the subject:
The idea of shame.css is that you have a totally new stylesheet reserved just for your hacky code. The code you have to write to get the release out on time, but the code that makes you ashamed.
As Harry mentioned in his article, putting your CSS hacks and quick-fixes in their own file called
shame.css you do a few things:
- You make them stick out like a sore thumb
- You keep your 'main' codebase clean
- You make developers aware that their hacks are made very visible
- You make them easier to isolate and fix.
$ git blame shame.css
I don’t know about you, but Harry had me at