我很难找出用bootstraps的网格系统(我可能会误用它)来完成此操作的正确方法。引导3.0行和图像/ div并排
我想要的是一个div,其中最左边缘是一个图像,其余的内容是一个完整大小的.row到表单字段。我想我缺少一些关于bootstrap如何使用它的各种类的基本知识。
<div class="card">
<span class="f-icon glyphicon glyphicon-file pull-left"></span>
<div class="col-xs-6 col-sm-6 col-md-6">
I want this to be the first half of the remaining content
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
I want this to be the second half of the remaining content
</div>
</div>
小提琴:https://jsfiddle.net/p37bc1n0/
哎呀不对小提琴:https://jsfiddle.net/p37bc1n0/1/ – Perrin
这样? https://jsfiddle.net/p37bc1n0/2/ –
@MichaelCoker这将工作,如果我可以依靠图标的大小由col div确定。我试图驾驭的只是接下来的一行 - 类似于迈克尔的解决方案上面的静态图像 – Perrin