fgnass/modernizr — explained in plain English
Analysis updated 2026-08-11 · repo last pushed 2014-04-01
Detect whether a visitor's browser supports a modern layout technique and provide a fallback for older browsers.
Build a site that progressively enhances the experience for up-to-date browsers while still working on older ones.
Customize which feature checks are included so your site only loads the tests it actually needs.
Run follow-up actions after browser checks that take a moment to complete.
| fgnass/modernizr | 00kaku/gallery-slider-block | 0verflowme/weirdhta | |
|---|---|---|---|
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2014-04-01 | 2021-05-19 | 2022-06-16 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Just include the Modernizr script in your HTML head, no server, API key, or build step required.
Modernizr is a tool that helps websites adapt to different web browsers. Not every browser supports the same features, and this can cause a website to look broken or behave differently depending on where a visitor is coming from. Modernizr solves this by checking what a specific browser can do and then giving developers a way to adjust the site accordingly. When Modernizr runs on a webpage, it performs a series of checks on the visitor's browser to see which modern web features are supported. It then shares the results in two ways: by adding labels to the page that developers can check, and by adding specific tags to the page's code that can trigger different styling rules. This allows developers to progressively enhance their pages, meaning they can provide a richer experience for visitors with up-to-date browsers while ensuring things still work for those with older ones. Web developers and designers use this when they need to support a wide range of users but want to take advantage of newer web capabilities. For example, a developer might want to use a modern layout technique but needs a fallback plan for older browsers that don't support it. Modernizr provides the information needed to make those on-the-fly decisions, giving fine-grained control over the user experience without having to guess what a visitor's browser can handle. The project also offers a system for handling checks that take a moment to complete, letting developers trigger follow-up actions once those checks finish. It can be customized so a project only includes the specific checks it actually needs, which helps keep things running quickly. The README does not go into detail on the full range of specific browser features it tests for, but it points to external documentation for those deeper specifics.
Modernizr checks what web features a visitor's browser supports, then gives developers a way to adapt their site so it works well across both old and new browsers.
Mainly JavaScript. The stack also includes JavaScript, HTML, CSS.
Dormant — no commits in 2+ years (last push 2014-04-01).
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.