How to Centre an Element in CSS with Tailwindby@smpnjn
108,259 reads

How to Centre an Element in CSS with Tailwind

February 5th 2023
2m
by @smpnjn 108,259 reads
tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@smpnjn

Johnny Simpson

Product, Engineering, Web


Receive Stories from @smpnjn

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!