News for hackers. Stuff that matters.
Re:Proposal: Hack Free CSS with the @unsupported Directive by alabut on Monday October 19, 2009 @05:46PM (#891120)
You can already do this with the Modernizr javascript library, it works just like the blog post described:

http://modernizr.com/

It's a good approach - target only supported features through CSS inheritance. It's what I used to make my first commercial site with HTML5 and CSS3:

http://theprbootcamp.com (happening this Thursday in SF)

It was great, it made certain visual effects completely painless and degrades to a very similar but more square layout in IE6. It's not that you can't do rounded corners, dropshadows, multiple background images, gradients or have an IE6-friendly site design w/o it, it's just a giant time saver - I whipped together that site in less than a day - and the markup came out way cleaner.

No need to wait for the W3C to make a proposal or browser makers to integrate it, and you could remove the javascript if they ever come around.

There are no comments on this comment yet.