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