我想把iframe标签在显示器的每一个尺寸在父DIV的中间的中心,我用引导:把一个IFRAME在一个div
<div class="col-md-2 col-sm-2 col-xs-12 animated2 zoomInDown">
<div class="col-md-12">
<div class="box" style="min-height: 180px; background-color: white">
<iframe id="enamad" class="thumbnail meNamad" src="#" frameborder="0" scrolling="no" allowtransparency="true" style="width: 180px; height: 180px;"></iframe>
</div>
</div>
</div>
我已经试过保留余量:在“meNamad”类中的35%,但它只是在xs大小,我使用col-xs-12,但在其他大小,它被推到正确 –
请把小提琴演示。 – locateganesh