我需要使用引導創建佈局,但我正在努力調整圖標(如它在圖像上看到的那樣)。它應該沒有左邊距,與文章標題的水平相同。我嘗試了不同的容器分別爲圖標和其他內容,但它沒有解決。引導佈局 - 對齊圖標在一個水平上與標題
代碼,因爲它現在是:
<div class="container">
<span id="article"><span class="glyphicon glyphicon-list-alt"></span></span>
<div class="col-xs-offset-1">
<h2>Article title</h2>
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.</p>
<button id="button" class="btn btn-lg">Sign Up</button>
</div></div>
layout image 我怎樣才能使這項工作?
謝謝你,它必須和負利潤率工作,但是是OK使用負值?出於某種原因,我認爲使用它們是一種壞習慣,或者它不是? –
據我所知,這很好。我經常做。如果發生溢出,您可能會遇到麻煩:隱藏;因爲這會隱藏負面部分,但通常它工作正常,因爲默認情況下顯示溢出。 – Loren