Re: CSS Code Snippets To Make You A Better Coder
by kaylarose on Monday February 07, 2011 @10:37AM
(#2189261)
I find I rarely need to target any browser other than IE with specific styles, so I usually end up doing something like this, which doesn't rely on JS.
Edit: And then remove the 'no-js' class with js
[ Parent
| on HN ]
Re: CSS Code Snippets To Make You A Better Coder
by Pewpewarrows on Monday February 07, 2011 @10:44AM
(#2189293)
Credit where credit is due:
http://paulirish.com/2008/conditional-stylesheets-vs-css-hac...
Re: CSS Code Snippets To Make You A Better Coder
by kaylarose on Monday February 07, 2011 @01:36PM
(#2190060)
Actually I didn't know about that article, but is nice to see the origin of this technique. Mostly took inspiration from HTML5 Boilerplate (also Paul Irish), and previous articles I read. But yes, Paul Irish is awesome, and deserves lots of credit.