Modernizr: a simple framework for detecting browser functionality

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


Hi,

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

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.

Cheers,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://fluidproject.org/pipermail/fluid-work/attachments/20110225/7aa02ed8/attachment.html>


More information about the fluid-work mailing list