Twitter的 bootstrap 框架中是否有一组类可以对齐文本?
例如,我有一些总计为$
的表格,我希望它们与右边对齐...
<th class="align-right">Total</th>
和
<td class="align-right">$1,000,000.00</td>
Twitter的 bootstrap 框架中是否有一组类可以对齐文本?
例如,我有一些总计为$
的表格,我希望它们与右边对齐...
<th class="align-right">Total</th>
和
<td class="align-right">$1,000,000.00</td>
<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>
<p class="text-xs-left">Left aligned text on all viewport sizes.</p>
<p class="text-xs-center">Center aligned text on all viewport sizes.</p>
<p class="text-xs-right">Right aligned text on all viewport sizes.</p>
<p class="text-sm-left">Left aligned text on viewports sized SM (small) or wider.</p>
<p class="text-md-left">Left aligned text on viewports sized MD (medium) or wider.</p>
<p class="text-lg-left">Left aligned text on viewports sized LG (large) or wider.</p>
<p class="text-xl-left">Left aligned text on viewports sized XL (extra-large) or wider.</p>
text-left
已被text-start
取代,
<p class="text-start">Left aligned text.</p>
<p class="text-center">Center aligned text.</p>
<p class="text-end">Right aligned text.</p>
<p class="text-justify">Justified text.</p>
<p class="text-nowrap">No wrap text.</p>