How to Centre an Element in CSS with Tailwindby@smpnjn
130,032 reads
130,032 reads

How to Centre an Element in CSS with Tailwind

by Johnny Simpson2mFebruary 5th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Tailwind is a popular CSS framework. In this guide, we'll look at how to center both HTML elements and text with Tailwind.

People Mentioned

Mention Thumbnail
featured image - How to Centre an Element in CSS with Tailwind
Johnny Simpson HackerNoon profile picture
Johnny Simpson

Johnny Simpson

@smpnjn

Product, Engineering, Web

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Johnny Simpson HackerNoon profile picture
Johnny Simpson@smpnjn
Product, Engineering, Web

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here