Quick min/max-width media query support in IE6-8
Just include the following in the <head>
of your document.
<!--[if lt IE 9]>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
<![endif]-->
The script conditionally loads respond.js, a min-width/max-width polyfill for IE6-8. The conditional comments willy only load the script if a person is using IE8 or lower.
Boom.
Written by Mike King
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#