Tests if the current browser supports HTML5 and/or custom elements.
Useful for example when writing AngularJS applications.
In JS: if ( Modernizr.customelements ) { /*...*/ };
In CSS: .customelements { color: red; }
or .no-customelements { color: hotPink; }
All credits goes to aFarkas for html5shiv. This repo is just his code wrapped in Modernizr.