Forums

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #280152
    orepq
    Participant

    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

    https://codepen.io/Orpeq/pen/roOZZV

    #280156
    Paulie_D
    Member

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.