Get started with modernizr CDN

MIT licensed

Modernizr: library for feature detection, HTML5 shimming in browsers.

  • modernizr
  • js
  • javascript
  • css
  • css3
  • html
  • html5

Stable version


How to start using modernizr CDN

<!DOCTYPE html>
  <script src=""></script>
  <title>Get started with modernizr CDN -</title>
  <!-- Your HTML content goes here -->

    // Check for the presence of specific features using Modernizr
    if ('querySelectorAll' in document && (document.querySelectorAll && Modernizr.touch)) {
      console.log('Your browser supports querySelectorAll and touch events.');

All versions