Install
Modernizr
Modernizr adds classes to the <html> element which allow you to target specific browser functionality in your stylesheet. You don't actually need to write any Javascript to use it. Modernizr is a small and simple JavaScript library that helps you take advantage of emerging web technologies (CSS3, HTML5) while still maintaining a fine level of control over older browsers that may not yet support these new technologies. NOTE: This package is maintained on behalf of the library owne
2.8.3Latest, 20 Aug 2014
139MDownloads, all time
0Advisories on the latest
0Advisories, all versions
non-standardLicence
Homepage · Ask AI Mode · · Markdown
On Hacker News
- Initializr now includes Bootstrap 2, LESS, H5BP 3 and Modernizr 2.5 111 points, 10 comments, 6 Feb 2012
- Modernizr: a JS toolkit to help you start using CSS3 and HTML5 today 44 points, 3 comments, 1 Jul 2009
- Using Modernizr to detect HTML5 features and provide fallbacks 38 points, 1 comments, 27 Mar 2012
- Sniff my browser: The Modernizr inadequacy 37 points, 14 comments, 17 May 2011
Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.