Nesting grid / flex elements
I'm experiencing difficulties using flexboxes or grids inside a grid container. What are the key considerations and potential conflicts between grid and flexbox layouts that I should be aware of?plz
10 Replies
A descriptive title and shared code makes it a lot easier for people to help you
Ok
Please give some minute am not good at using codepen
Please help with something like this In one of the box
@Jochem
yes?
if you're pinging me to help you with your coding issue, please don't. I can't atm, so you'll have to be patient until someone else can take a look
Ok😪
You need to break it down more. Boxes in boxes
Great lesson learned!
Yes, wrapping an image with a div element can cause unnecessary complexity and potential layout issues, especially when working with grid or flexbox layouts.
.
I'm not at my PC but what I meant was you can grid and Flex inside more, so I would make another flex or grid for that set of elements
Layout is very much learning how to put boxes in boxes in more boxes 🥲
Don't try to make one parent do all the work