【问题标题】:How to wrap image with text separate in col-6如何在 col-6 中将图像与文本分开
【发布时间】:2016-06-09 23:35:59
【问题描述】:

我的段落中有很多内容,我需要用内容包装图像。

我该怎么做?

<div class="row">
 <div class="col-sm-6>
  <img src="something/something.jpg alt="something" />
 </div>
 <div class="col-sm-6>
  <p>some loooong text</p>
 </div>
</div>

【问题讨论】:

标签: html image text twitter-bootstrap-3


【解决方案1】:

如果您必须使用 col-sm-6,这会为您提供类似于 cmets 中 your link 的内容:

<div class="row">
    <div class="col-sm-6">
        <p>First paragraph...</p>
        <p>Second paragraph....</p>
    </div>

    <div class="col-sm-6">
        <img src="" />
    </div>
 </div>

 <div class="row">
    <div class="col-sm-12">
        <p>Third paragraph...</p>
    </div>
 </div>

【讨论】:

    猜你喜欢
    • 2018-01-24
    • 1970-01-01
    • 2018-12-21
    • 2021-04-07
    • 2023-03-12
    • 2017-01-09
    • 1970-01-01
    • 1970-01-01
    • 2020-12-04
    相关资源
    最近更新 更多