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