To correctly discern what different browsers can do or not Moderniz does real feature detection. Some users change their userAgent string to get around weakly developed webpages which do not let them through otherwise, after all, the same rendering engine may not necessarily support the same things.
Using feature detection we can establish what we can and can't do in the current browser, so Modernizr makes it suitable in numerous ways:
Modernizr makes its way by creating an element, setting a specific style instruction on that element and then instantly retrieving, so Browsers who understand the instruction will return something sensible, otherwise will return nothing or just " undefined ".
To illustrate how you could use that specific test in your web development workflow as many tests in the documentation come with a small code sample. It's very well know that the use of Modernizr is limited only by developers imagination so actual use cases come in multiple varieties.
Browse our portfolio by solution type, main technology or client's activity domain.