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%
as well but it still doesnt workTailwind 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.
3 Replies