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
No description
10 Replies
Jochem
Jochem•4d ago
A descriptive title and shared code makes it a lot easier for people to help you
Daniel
DanielOP•4d ago
Ok Please give some minute am not good at using codepen
Daniel
DanielOP•4d ago
Please help with something like this In one of the box
No description
Daniel
DanielOP•4d ago
@Jochem
Jochem
Jochem•4d ago
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
Daniel
DanielOP•4d ago
Ok😪
b1mind
b1mind•3d ago
You need to break it down more. Boxes in boxes
Daniel
DanielOP•3d ago
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. .
b1mind
b1mind•3d ago
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

Did you find this page helpful?