How to Centre an Element in CSS with Tailwind
This story was originally published on HackerNoon at: https://hackernoon.com/how-to-centre-an-element-in-css-with-tailwind.
In this guide, we'll be covering how you can vertically and horizontally center an element or text with tailwind.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #web-development, #tailwindcss, #web-design, #tailwind, #javascript, #css, #coding, #coding-skills, and more.
This story was written by: @smpnjn. Learn more about this writer by checking @smpnjn's about page, and for more stories, please visit hackernoon.com.
Tailwind is a popular CSS framework. In this guide, we'll look at how to center both HTML elements and text with Tailwind.
You May Also Like

Mark Tilbury
Mark Tilbury Fan

Artificial Intelligence Masterclass
AI Masterclass

Bitcoin Magazine Podcast
BTC Media

Lenny's Podcast: Product | Career | Growth
Lenny Rachitsky

The AI Daily Brief: Artificial Intelligence News and Analysis
Nathaniel Whittemore

Jak Piggott
Jak Piggott

a16z Show
Andreessen Horowitz

Chat GPT Infinite Intelligence
Sol Good Network

AI Fire Daily
AIFire.co

Theo - t3․gg
Theo - t3․gg
Community discussion