css响应式布局原理
- 移动设备优先:
- 媒体标签:
@media screen and (min-width: 100px){ div{ width: 100px; height: 1000px; background: yellow; } }
- 完整代码:
Document - 效果:
标题名称:css响应式布局原理
当前链接:http://hbruida.cn/article/jdihjs.html
@media screen and (min-width: 100px){
div{
width: 100px;
height: 1000px;
background: yellow;
}
}
Document