Skip to content

niklas-r/modernizr-customElements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

modernizr-customElements

Tests if the current browser supports HTML5 and/or custom elements.

Useful for example when writing AngularJS applications.

How to use

In JS: if ( Modernizr.customelements ) { /*...*/ }; In CSS: .customelements { color: red; } or .no-customelements { color: hotPink; }

Credits

All credits goes to aFarkas for html5shiv. This repo is just his code wrapped in Modernizr.

About

Modernizr test for HTML5 and custom elements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published