My markup:
<div class="container">
<div class="row">
<div class="col-xs-12"></div>
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
<div class="row"> <!-- this has 0 height -->
<div class="col-xs-6"></div>
<div class="col-xs-6"></div>
</div>
</div>
<div class="col-xs-12"></div>
</div>
</div>
What can be the reason that the nested row has correct width, 0 height and can't have a margin-bottom
, no matter what contain its colums?
Interesting thing, when I positioned absolutely a pseudoelement ::after
for this row, it resolves correctly sizes like top: 50%
but only if the problematic row has position: static
and not when it has position: relative
.