我一直在第一次使用媒體查詢,事情進展順利,但似乎遇到了一個奇怪的問題。@media min-width不被firefox識別8
這裏是我的CSS:
@media only screen and (min-width:481px) and (max-width:768px) { /* tablet portrait */
css here
}
@media only screen and (min-width:321px) and (max-width:480px) { /* mobile landscape */
css here
}
@media only screen and (max-width:320px){ /* mobile portrait */
css here
}
一切正常在Chrome和樣式表按預期實施。在Firefox中,最後的樣式表(最大寬度:320px)沒有被拾取。
我做了很多搜索,找不到任何類似的東西。
非常感激,如果任何人有任何意見...
不應該是320px? –
是的,它應該。我已經改變了我的代碼,這沒有什麼區別。在上面會改變。 – Ste77
最接近的答案我能找到:http://stackoverflow.com/questions/7663005/is-firefox-6-7-handling-max-width320px-media-query-wrong –