Media Querie is not compatible with Internet Explorer 2014

1

I'm using the following media queries, everything in Chrome is ok. What are the right properties for the latest version of IE?

@media(min-width:320px) { }

@media(min-width:480px) { }

@media(min-width:600px) { }

@media(min-width:768px) { }

@media(min-width:991px) { }
    
asked by anonymous 26.10.2014 / 23:33

3 answers

2

You can use Respond.js . It is a polifyll for browsers that do not support media queries such as IE. Just include the javascript file in your code and everything will work perfectly. =)

You can also choose to use it through a CDN:

<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    
27.10.2014 / 19:42
1

I tried Respond.js here and it worked, but you have to use the server for it to work, if you try to go directly to the browser it will not work (at least with me).

I used this goal

<meta http-equiv="X-UA-Compatible" content="IE=edge">

and this cdn after css

<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    
27.10.2014 / 20:39
0

link

As the above website shows, only from IE9 what media queries are supported.

But there is a project found in google code that supplied as a faulback this need!

link

I hope it helps!

    
27.10.2014 / 13:37