items center in tailwinds

guys is there a reason why items-center ain't working on html or it need smt else
12 Replies
Zoë
Zoë2y ago
Have you inspected the element? Is the display on that element set correctly? I don't know tailwind so idk if you're talking flex or grid The property hasn't been removed so the issue is somewhere else
Terrorist
TerroristOP2y ago
it's flex bro can i show you the code?
Zoë
Zoë2y ago
Ideally show me in a pen. I don't know tailwind, I just want to inspect the elements But it just seems you might not have it as flex. I looked it up and that's the class you need to use with items-center
Terrorist
TerroristOP2y ago
<div class="flex justify-center items-center"> here i wanted to center it and it did not work
Zoë
Zoë2y ago
Can you at least show an image of what you're looking at
Terrorist
TerroristOP2y ago
No description
Zoë
Zoë2y ago
Hmm, I'm not sure without being able to inspect it #how-to-ask-good-questions
Terrorist
TerroristOP2y ago
i show you the inspect bro?
Zoë
Zoë2y ago
No, right click and inspect element, it shows you far more details about what is actually happening
Terrorist
TerroristOP2y ago
it seems it can't go down
Mannix
Mannix2y ago
you probably need height 🙂
snxxwyy
snxxwyy2y ago
put min-height: 100vh; on the body

Did you find this page helpful?