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