text-center: Tailwind CSS Text Align class
The text-center class centers text horizontally.
Text-center
The text-center class centers text horizontally
Example Code
html
<div class="p-5 font-bold bg-gray-100 rounded-t-md"> <h3 class="text-gray-500">text-center</h3> <p class=" text-gray-700 text-center"> Tasha's fingers hovered over the keyboard, her heart racing as she stared at the login screen for TechnoFlux, the cutting-edge platform her boss had raved about for weeks. It promised to streamline data analysis, but to Tasha, it looked like a labyrinth of buttons, graphs, and drop-down menus. </p></div>
Preview
text-center
Tasha's fingers hovered over the keyboard, her heart racing as she stared at the login screen for TechnoFlux, the cutting-edge platform her boss had raved about for weeks. It promised to streamline data analysis, but to Tasha, it looked like a labyrinth of buttons, graphs, and drop-down menus.
Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
