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ë14mo 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
Rami
RamiOP14mo ago
it's flex bro can i show you the code?
Zoë
Zoë14mo 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
Rami
RamiOP14mo ago
<div class="flex justify-center items-center"> here i wanted to center it and it did not work
Zoë
Zoë14mo ago
Can you at least show an image of what you're looking at
Rami
RamiOP14mo ago
No description
Zoë
Zoë14mo ago
Hmm, I'm not sure without being able to inspect it #how-to-ask-good-questions
Rami
RamiOP14mo ago
i show you the inspect bro?
Zoë
Zoë14mo ago
No, right click and inspect element, it shows you far more details about what is actually happening
Rami
RamiOP14mo ago
it seems it can't go down
Mannix
Mannix14mo ago
you probably need height 🙂
snxxwyy
snxxwyy14mo ago
put min-height: 100vh; on the body
Want results from more Discord servers?
Add your server