Why My Tailwind Grid Not working?
Guys I have used Tailwind CSS class place-content- center but the content is not centering horizontally.
Why?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1167090121884057692/IMG20231026191250.jpg)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1167090122429313034/IMG20231026191419.jpg)
3 Replies
are you sure you are viewing correct page in html you have
Test
as text and on the page is This is a heading
Yes, they are on the same page.
It works when I used div but why not in the body?
place-items: center maybe?
I mean that should work but idk ... tailwind 😂
I would not put it on the body though make a wrapper.