Modernizr: a simple framework for detecting browser functionality

James William Yoon jyoon at
Fri Feb 25 21:11:05 UTC 2011


I ran across Modernizr recently, and thought it might be of interest to some
folks: ,

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...
URL: <>

More information about the fluid-work mailing list