Modernizr adds classes to theÂ
Modernizr uses feature detection to test the current browser against upcoming features like rgba(), border-radius, CSS Transitions and many more. These are currently being implemented across browsers and with Modernizr you can start using them right now, with an easy way to control the fallbacks for browsers that donâ€™t yet support them.
true and if not, it will beÂ
Lastly, Modernizr also adds support for styling and printing HTML5 elements. This allows you to use more semantic, forward-looking elements such as
<dialog> without having to worry about them not working in Internet Explorer.