mrmoon97
KPCKevin Powell - Community
•Created by mrmoon97 on 10/30/2024 in #front-end
Using container queries along with subgrid
1 replies
KPCKevin Powell - Community
•Created by mrmoon97 on 8/23/2023 in #front-end
Why does my grid-child with aspect-ratio item overflow the flex-parent?
Hey guys! I'm new here and need some help with something. I have a flexbox container with a fixed height and 3 childs. One of them has display grid, flexgrow 1 on and an item which should contain it's aspect ratio of 16:9. However I don't get why the widths aren't adjusting.
https://codepen.io/Markus-Rappat/pen/XWobKrL?editors=1100
12 replies