【发布时间】:2014-01-29 03:08:45
【问题描述】:
我做了一些简单的媒体查询并加载到网站中,但是当我刷新页面时,由于媒体查询 css 网站 orignal css 也令人不安,请建议我如何根据移动宽度修复媒体查询的准确和适当的解决方案以及包括网站中这些查询的方式,以便我可以制作一个适当的响应式网站。
更多建议我分享css代码
/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 480px)
body {
background-color:white;
}
#columnout {
background:none;
background-color:#0090d7;
width: 300px;
height: 200px;
margin-top: 210px;
position:absolute;
z-index:100;
}
#column{
width: auto;
height: auto;
text-align: right;
margin-left: 47px;
z-index: 1;
margin-top: -29px;
}
【问题讨论】:
-
我完全同意你的看法......似乎 SO 正在走下坡路
标签: css media-queries