请帮忙。
我正在使用 Bourbon Neat 1.7 并尝试添加和显示第二行。当前显示的所有信息都显示在一行上,应该是 2 行。我的计划是附加一个记录集并逐行显示记录。
我的scss代码
.third {
@include outer-container;
background-color: #afa;
.alpha3 {
@include fill-parent();
@include row(table);
margin-bottom: 0;
padding: 0;
background-color: #aaf;
.aside3 {
@include span-columns(4);
@include pad();
border: 1px solid black;
background-color: #faa;
}
.article3 {
@include span-columns(8);
@include pad();
@include reset-display;
background-color: #faa;
}
}
}
HTML 代码
<div class="third">
<p>div class third </p>
<div class ="alpha3">
<div class ="aside3">
<p>1st Col 1st row </p>
</div>
<div class ="article3">
<p>2nd Col 1st row</p>
</div>
<div class ="aside3">
<p>1st Col 2nd row</p>
</div>
<div class ="article3">
<p>2nd Col 2nd row</p>
</div>
</div>
</div>