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
No description
3 Replies
Mannix
Mannix•9mo ago
are you sure you are viewing correct page in html you have Test as text and on the page is This is a heading
Riaj mahmud
Riaj mahmud•9mo ago
Yes, they are on the same page. It works when I used div but why not in the body?
b1mind
b1mind•9mo ago
place-items: center maybe? I mean that should work but idk ... tailwind 😂 I would not put it on the body though make a wrapper.