我希望我的内容流畅,但在使用.container-fluidBootstrap的网格时,我仍然看到填充.我该如何摆脱填充?
我看到我没有得到.row的填充,但我想添加列,并且一旦我这样做,填充回来了:O.
我希望能够使用全宽的列.
一个例子:
<div class="container-fluid">
<div class="row">
<div class="col-sm-6">
<p>Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
</div>
<div class="col-sm-6">
<p>Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
解决方案我有:
覆盖bootstrap.css,linke 1427和1428(v3.2.0)
padding-right: 15px;
padding-left: 15px;
Run Code Online (Sandbox Code Playgroud)
至
padding-right: 0px;
padding-left: 0px;
Run Code Online (Sandbox Code Playgroud)