Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Grid as a child of a flex doesn't work properly - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
4 replies
Bardacoon
Grid as a child of a flex doesn't work properly
Code
:
https://play.tailwindcss.com/XSMPnICSXN
As you can see the green squares are overlapping each other and the red container is overlapping them as well
. What I want to achieve is something like that
. I tried using
width: 100%
width: 100%
as well but it still doesnt work
Tailwind Play
Tailwind Play
An advanced online playground for Tailwind CSS that lets you use all of Tailwind
's build
-time features directly in the browser
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Grid flex?
KP-C
Kevin Powell - Community / front-end
4y ago
Fake grid list with flex child & active color
KP-C
Kevin Powell - Community / front-end
4y ago
Grid or Flex?
KP-C
Kevin Powell - Community / front-end
2y ago
Grid / Flex solution
KP-C
Kevin Powell - Community / front-end
3y ago