简单的网页自适应


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h2>简单的网页自适应</h2>
<h3>缩放浏览器查看效果</h3>
<br/>
<div class="city">
<h2>DIV</h2>
<p>占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符</p>
</div>
<div class="city">
<h2>DIV</h2>
<p>占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符</p>
</div>
<div class="city">
<h2>DIV</h2>
<p>占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符占字符</p>
</div>
1
2
3
4
5
6
7
8
.city {
float: left;
margin: 5px;
padding: 15px;
width: 300px;
height: 300px;
border: 1px solid black;
}

文章作者: COOL
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 COOL !
评论
  目录