bootstrap class to center text code example

Example 1: centre text bootstrap

<div class = "text-center">

	<p> hello world</p>


</div>

Example 2: bootstrap text center in div

<!-- recommended method -->
<div class="col-xs-1 text-center">

Example 3: bootstrap alignemnt paragraph

<p class="text-justify">Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet fermentum. Donec sed odio operae, eu vulputate felis rhoncus. Praeterea iter est quasdam res quas ex communi. At nos hinc posthac, sitientis piros Afros. Petierunt uti sibi concilium totius Galliae in diem certam indicere. Cras mattis iudicium purus sit amet fermentum.</p>

Example 4: lowercase bootstrap class

<p class="text-lowercase">Lowercased text.</p>
<p class="text-uppercase">Uppercased text.</p>
<p class="text-capitalize">CapiTaliZed text.</p>

Tags:

Misc Example