Bootstrap跨越空白空间 [英] Bootstrap span empty space
本文介绍了Bootstrap跨越空白空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这个简单的代码:
< div class =wrapper_big>
< div class =row-fluid grey>
< div class =span4>将徽标< / div>
< div class =span8>将作为菜单< / div>
< / div>
< / div>
和CSS:
.grey {background-color:#eeeeee;}
.wrapper_big {width:1100px;保证金:0汽车;}
我在跨度后有额外的空间,请参阅图片:
http://postimg.org/image/pt5khfcmv/
如何删除它?
.span12 {
min-height:inherit!important;
}
I have this easy code:
<div class="wrapper_big">
<div class="row-fluid grey">
<div class="span4">Will be logo</div>
<div class="span8">Will be menu</div>
</div>
</div>
and CSS:
.grey{background-color: #eeeeee;}
.wrapper_big {width: 1100px; margin: 0 auto;}
and I have extra space after spans, see in picture here: http://postimg.org/image/pt5khfcmv/
How remove it?
Update: Fiddle with extra space.
解决方案
add to your css:
.span12 {
min-height: inherit !important;
}
这篇关于Bootstrap跨越空白空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文