Why is the div not taking 100% height?
Hi everyone, I have a question. Why isn’t the inner div taking up 100% of the parent’s height, even though I’ve set its height to 100%?


5 Replies
You haven't given us any code
Impossible to tell what's going on
Oh wait I see the screenshot is cropped
It's still better if you share a codepen instead of hard to read screenshots
The amount of classes for structure on that page is crazy. I'm guessing it is tailwind? I didn't know you had to nest flex so many times.
I think the flex is doing it
yeah your usage of flex looks not right
though honestly good question why that grid element isn't taking up the full height
you don't have to. this is not tailwind's fault lol
yeah I'm not blaming tailwind. Just wondering if that is its class structure or not. Yeah I would have used a single wrapper when 2 containers and no sure why grid comes next as we have not content to tell why it comes next. I also found that empty block elements don't play nice in all browsers.