【发布时间】:2019-04-25 18:42:55
【问题描述】:
我希望有人能指出我在使用 Sass 版本时如何更改 Zurb Foundation for Emails 2 中列的背景颜色的正确方向。有没有办法为列或行设置背景颜色? 我尝试了多种方法,但由于某种原因无法将样式应用于列或行。 身体, html,
h4.topline {
text-align: center;
color: rgb(0, 255, 85);
background: red;
}
p.value {
text-align: center;
color:indigo;
font-weight: bold;
background: greenyellow
}
div.test{
background: greenyellow
}
.columns.descr {
text-align: center;
color: gainsboro;
font-weight: bold
}
.row.test{
border-width: thick;
border-color: aqua
}
</style>
<container class="body-notify">
<row>
<columns small="12" large="12" >
<spacer size="10"></spacer>
<h4 class="topline">Information</h4>
</columns>
</row>
<row>
<div class="test">
<columns class="descr" small="12" large="6">Description 1</columns>
</div>
<columns small="12" large="6"><p class="value">Value 1</p></columns>
</row>
<row>
<columns small="12" large="6">Description 1</columns>
<columns small="12" large="6"><p class="value">Value 2</p></columns>
</row>
</container>
【问题讨论】:
标签: zurb-foundation zurb-foundation-6