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