The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › I can't Wrap Child Elements Around when Resizing
I’m trying to build navigation with Flex-box and I hit dead end with <li> tags, they don’t wrap around each other when being resized, just a static horizontal line. If someone would help me out with this, that would be really great
Your HTML is invalid to begin with….li must be children of a ul.
Try correcting that first.
It will also need to be display:flex and flex-wrap:wrap.