我想將左側的圖像與使用boostrap的文本對齊,並且在移動設備上查看頁面時,圖像將變爲居中置於文本頂部!Bootstrap將圖像與文字對齊
<div class="container">
<div class="row">
<h1>About Me</h1>
</class>
<div class="col-md-4">
<div class="imgAbt">
<img width="220" height="220" src="img/me.jpg">
</div>
</div>
<div class="col-md-8"><p>Lots of text here...With the four tiers of grids available you're bound to run into issues where, at certain breakpoints, your columns don't clear quite right as one is taller than the other. To fix that, use a combination of a .clearfix and o</p></div>
</div>
</div>
我也曾嘗試.col-md-3 .col-md-pull-9
與.col-md-9 .col-md-push-3
一起,但我還是沒能達到預期的效果,similar to this design
什麼是那些」 .span 4" 和 「8跨度」 類名在那裏做什麼?並沒有標籤 –
ravb79
@ ravb79,我的壞它是我試過的舊代碼。更新 – rikket