Answers for "bootstrap centered text"

9

centre text bootstrap

<div class = "text-center">

	<p> hello world</p>


</div>
Posted by: Guest on March-23-2021
8

font weight bootstrap class

<p class="font-weight-bold">Bold text.</p>
<p class="font-weight-normal">Normal weight text.</p>
<p class="font-weight-light">Light weight text.</p>
<p class="font-italic">Italic text.</p>
Posted by: Guest on July-29-2020
2

bootstrap text center in div

<!-- recommended method -->
<div class="col-xs-1 text-center">
Posted by: Guest on November-19-2020
0

center text with boostrap

<p class="text-left">Left aligned text on all viewport sizes.</p>
<p class="text-center">Center aligned text on all viewport sizes.</p> //CENTER TEXT
<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 April-18-2021

Browse Popular Code Answers by Language