Text Align Tailwind Code Example


Example 1: horizontal align tailwind


<div class="flex items-center justify-center h-screen">

<div class="bg-indigo-800 text-white font-bold rounded-lg border shadow-lg p-10">
Centered Content
</div>

</div>

Example 2: tailwind tect align left


Class				Properties
text-left text-align: left;
text-center text-align: center;
text-right text-align: right;
text-justify text-align: justify;

Example 3: tailwind text justified


<p class="text-justify ...">Lorem ipsum dolor sit amet ...</p>

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable