Bootstrap CSS Classes

Bootstrap CSS class .text-*-center

<p class="text-center">Center aligned text on all viewport sizes.</p>
<p class="text-sm-center">Center aligned text on viewports sized SM (small) or wider.</p>
<p class="text-md-center">Center aligned text on viewports sized MD (medium) or wider.</p>
<p class="text-lg-center">Center aligned text on viewports sized LG (large) or wider.</p>
<p class="text-xl-center">Center aligned text on viewports sized XL (extra-large) or wider.</p>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Text category

© 2024 Shuffle. All rights reserved.