Skip to content
CoursesWeb Forum
SectionsCSS Layout: Flexbox and Grid

CSS Layout: Flexbox and Grid

Putting things where you want them: divs side by side, centring, vertical alignment, flexbox, grid, positioning and layouts that hold up on a phone.

Threads in CSS Layout: Flexbox and Grid

  1. ✓

    How do I put two divs side by side inside a container?

    Make the container a flex container with display flex, and the two divs inside it line up in a row on their own. Give each div a flex value so they share the...

    CSS Layout: Flexbox and GridTeodora VanceStaff answer
    0replies