bootstrap笔记-布局

1.通过文本对齐类,可以简单方便的将文字重新对齐。

<p class="text-left">Left aligned text.</p>
<p class="text-center">Center aligned text.</p>
<p class="text-right">Right aligned text.</p>
<p class="text-justify">Justified text.</p>
<p class="text-nowrap">No wrap text.</p>


2.在Bootstrap中ul和li都是前面带点儿的(带默认样式的),如果不需要可以<ul class="list-unstyled"> 加class =‘list-unstyled
但是list-unstyled只会对‘直接子元素’起作用,也就是说,你需要对所有嵌套的列表都添加这个类才能具有同样的样式。

原文地址:https://www.cnblogs.com/xisitan/p/4874558.html