【发布时间】:2018-06-03 10:10:04
【问题描述】:
<div class="container-fluid">
<div class="row">
<div class="col-xs-8 col-md-8 col-sm-8">
<img src="#"/>
</div>
<div class="col-xs-4 col-md-4 col-sm-4">
<blockquote>
<p style="font-size:20px; color:black;">"I had never seen anything in the least like them before. A single look at them is enough to show that they could only be written by a mathematician of the highest class. They must be true because, if they were not true, no one would have the imagination to invent them."</p>
<footer><cite>Anonymous</cite></footer>
</blockquote>
</div>
</div>
您好,在上面的代码中,我正在尝试将文本和图像并排显示,在桌面上查看时我得到了预期的输出,但在移动设备上查看时是同一页面我看到部分文本和图像重叠但相同在桌面视图中在移动设备中查看时页面正常。
如何将所有视图中的外观同步在一起?
任何指针都会有所帮助。
谢谢。
PS:我没有足够的代表来发布图片,所以在引号之间#'ing img src 值
【问题讨论】:
标签: twitter-bootstrap grid bootstrap-4