<div class="row">
<div class="col-xs-3">
<img src="image/t.png " class="img-responsive">
</div>
<div class="col-xs-9 ">
<img src="image/b.png " class="img-responsive">
</div>
</div>
我希望b.png
图片正确对齐。
答案 0 :(得分:21)
您只需要添加.pull-right
课程。
所以它就像这个例子:
<div class="row">
<div class="col-xs-3">
<img src="image/t.png " class="img-responsive">
</div>
<div class="col-xs-9 ">
<img src="image/b.png " class="pull-right img-responsive">
</div>
</div>
答案 1 :(得分:3)
只需添加pull-right
引导类
<div class="col-xs-9 ">
<img src="image/b.png " class="img-responsive pull-right">
</div>