我使用Zurb Foundation框架构建前端(http://foundation.zurb.com/docs/grid.php),并且创建了我的基本布局,没有问题。填充网格列布局内的内容
我想知道的是如何填充列内的内容?所有的内容都按照你的想法排列在左侧,但是我看不到如何在没有定制网格布局标记的情况下创建填充,或者无处不在创建大量的包装。
例如,标记
<div class="container">
<div class="row">
<div class="eight columns customise-the-grid">
<p>My main content</p>
<ul><li>My item</li></ul>
<!-- other various content -->
</div>
<div class="four columns">
<div class="or-create-a-wrapper">
<p>My main content</p>
<ul><li>My item</li></ul>
<!-- other various content -->
</div>
</div>
</div>
</div>
一些CSS来说明
.customise-the-grid{
padding: 10px;
}
.or-create-a-wrapper{
padding: 10px;
}
你想改变填充无添加一些CSS?我不明白。 – PeeHaa