我正在摆弄 Twitter Bootstrap 并注意到我的.row
比屏幕长度更宽。
这里是example http://bootply.com/90307
当 bootstrap 3.0 出来时我没有经历过这个。
右侧的额外空间来自margin-right: -15px;
我已经盯着这个看了好几个小时了,但没有取得任何进展我为何或如何欺骗自己
正确的解决方案(https://getbootstrap.com/docs/3.3/css/#grid-example-fluid https://getbootstrap.com/docs/3.3/css/#grid-example-fluid)是使用container-fluid
周围 div 的类:
<div class="container-fluid">
<div class="row">
Content
</div>
</div>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)