代码编辑器:
x
1
2
<meta charset="utf-8">
3
<meta name="viewport" content="width=device-width, initial-scale=1">
4
<link rel="stylesheet" href="https://cdn.bootcss.com/foundation/5.5.3/css/foundation.min.css">>
5
6
<div class="row">
7
<h2>Foundation 网格</h2>
8
<p>中型或大型设备上是 50%/50% 比例 ,小型设备上比例是 25% / 75%</p>
9
<p>改变浏览器的大小来查看不同屏幕大小下的显示</p>
10
11
<div class="row">
12
<div class="small-3 medium-6 columns" style="background-color:yellow;">
13
<p>简单教程</p>
14
</div>
15
16
<div class="small-9 medium-6 columns" style="background-color:pink;">
17
<p>简单教程</p>
18
</div>