Modernizr: a simple framework for detecting browser functionality
James William Yoon
jyoon at ocad.ca
Fri Feb 25 21:11:05 UTC 2011
I ran across Modernizr recently, and thought it might be of interest to some
http://www.modernizr.com/ , http://github.com/Modernizr/Modernizr
In a nutshell, it provides CSS and JS hooks for detecting browser support
for various elements, styles, and features like Canvas, opacity:,
box-shadow:, text-shadow:, CSS transforms, etc.
Using it is super-simple. For CSS, you're given classes like ".boxshadow"
and ".no-boxshadow" to deal with different styles, and for JS, you're given
boolean properties like "Modernizr.boxshadow" to test for its availability
on the client.
Modernizr is MIT and BSD licensed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fluid-work