我已经为移动设备创建了样式表。与此IM加载它:媒体查询不适用于手机
<link rel="stylesheet" media="handheld, screen and (max-width: 650px)" href="/mobile.css?t=<?php echo rand(); ?>" />
那个文件我里面:
@media handheld, screen and (max-width: 650px) {
-- Styles here
}
@media handheld, screen and (max-width: 446px) {
-- Styles here
}
它的工作原理,当我调整浏览器,但由于某些原因,至少在Android上我看到正常的网页,任何想法?