Answers for "text alignment bootstrap"

1

bootstrap nowrap

<div class="text-nowrap" style="width: 8rem;">
  This text should overflow the parent.
</div>
Posted by: Guest on November-16-2020
2

bootstrap text align

<p class="text-left">Left aligned text on all viewport sizes.</p>
<p class="text-center">Center aligned text on all viewport sizes.</p>
<p class="text-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>
Posted by: Guest on August-25-2021

Browse Popular Code Answers by Language