我做了一個響應網站,我在我的CSS中使用媒體查詢。 在chrome和FF上一切看起來不錯,但ie10忽略了我所有的查詢。 我的頭上有<meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
,因爲該網站已設置爲平板電腦。 我試圖刪除元標記,並沒有解決問題。媒體查詢不在ie10上工作
我幾乎嘗試了一切:
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px)
@media only screen and (max-width: 800px)
@media screen and (max-width: 800px)
@media all and (max-width: 800px)
@media (max-width:800px)
似乎沒有任何工作。