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