3 ms·
You can already do this with the Modernizr javascript library, it works just like the blog post described: http://modernizr.com/ http://modernizr.com/ It's a
by alabut 17y ago
You can already do this with the Modernizr javascript library, it works just like the blog post described:
http://modernizr.com/ 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 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.