top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is modernizr?

+1 vote
345 views
What is modernizr?
posted Nov 19, 2015 by Sathyasree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Modernizr is an open source, MIT-licensed JavaScript library that detects support for many HTML5 & CSS3 new features. You should always use the latest version. It runs automatically

<script src="modernizr.min.js"></script>
if (Modernizr.canvas) {
// let's draw some wonderful shapes!
} else {
// no browser support for canvas available 
}
answer Nov 19, 2015 by Shivaranjini
...