我正在使用 Foundation 3 构建响应式网站,但我想让页脚和导航背景宽度占据整个宽度?我将我的行命名为
class="row navigation"
class="row footer"
我尝试寻找如何解决这个问题,但我没有选择。我假设这是在 Foundation.css 文件中的一个小修复,但目前它有点难以承受,因为我是新手。
非常感谢任何指点。
我昨天遇到了同样的问题。诀窍是,对于全宽跨越块,您只需将它们保留在行/列结构之外,因为行/列将始终应用默认填充。将页脚和页眉保持独立,并在其中使用行/列。
<header>
This will span the full width of the page
</header>
<div class="row">
<div class="twelve columns">
This text will flow within all typical padding and margins
</div>
</div>
<footer>
This will span the full width of the page
<div class="row">
<div class="twelve columns">
This text will flow within all typical padding and margins
</div>
</div>
</footer>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)