💄
CSS
Frontend Web DevLanguages
  • Introduction
  • Architecture
    • Default Styles
    • Nesting
    • Layers
  • Page
  • layout
    • Grid
    • Flexbox
    • Container Queries
  • Group 1
    • Pseudo
  • More modern stuff
Powered by GitBook
On this page
  • Guides and Reference
  • Utilities
  1. layout

Flexbox

Flexbox layouts your content into columns OR rows. If there's not enough space, there's an option to 'wrap'. This makes the container act as a simple grid. Children determine their own sizes.

PreviousGridNextContainer Queries

Last updated 1 year ago

Guides and Reference

  • : Left column explains flex parent properties. The right column explains flex child properties.

Utilities

CSS-Tricks Guide
Web.dev Guide
MDN Guide
MDN Reference
Game: Flexbox Froggy
Make the last children in a wrapping container evenly fill any remaining space