@media (min-width:1200px) and (max-width:1366px) {}
@media (min-width:1367px) and (max-width:1601px) {}
这么写对吗
针对电脑不同分辨率?
@media (min-width:1200px) and (max-width:1366px) {}
@media (min-width:1367px) and (max-width:1601px) {}
这么写对吗
针对电脑不同分辨率?
@media (min-width:1200px) and (max-width:1366px) {}
/* 描述的是 [1200,1366] 范围内的样式 */
@media (min-width:1367px) and (max-width:1601px) {}
/* 描述的是 [1367,1601] 范围内的样式 */
但是超过 1601px 的范围内容将于小于 1200px 的小屏幕样式一致,这应该不是你想要的结果
所有需要做下更改
@media (min-width:1200px) and (max-width:1366px) {}
/* 描述的是 [1200,1366] 范围内的样式 */
@media (min-width:1367px) and (max-width:1601px) {}
/* 描述的是 [1367,1601] 范围内的样式 */
@media (min-width:1602px) {}
/* 描述的是 超过1602 范围内的样式 */
2 回答832 阅读✓ 已解决
4 回答909 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
2 回答1k 阅读✓ 已解决
2 回答2.5k 阅读
1 回答996 阅读✓ 已解决
2 回答870 阅读✓ 已解决
对的 你复制看下就知道了
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<style type="text/css">
</style>
</body>
</html>