css/properties/layout
Prev: properties | Up: properties | Next: box_model
Rel: Display & Layout Guide, Cascade & Specificity
Ref: MDN Web Docs — CSS Reference
Tags: #public #web #css #properties #layout #index
Overview
Display modes, Flexbox, CSS Grid, and spacing alignment.
Core (#tier/core)
- `display` — Controls an element's outer flow participation and inner formatting context.
- `flex` — Shorthand controlling how a flex item grows and shrinks along the main axis.
- `justify-content` — Aligns flex items or grid tracks along the inline/main axis.
- `align-items` — Aligns flex/grid children along the cross/block axis.
- `grid-template-columns` — Defines column track sizes in a CSS Grid container.
- `gap` — Sets gutter spacing between flex, grid, or multi-column tracks without outer margin hacks.
Legacy / Avoid (#tier/legacy)
- `float` — Pulls an element out of normal flow so inline text wraps around it. Prefer display (flex/grid).
Linked from
- tuts/css/properties
- tuts/css/properties/box_model
- tuts/css/properties/layout/align-items
- tuts/css/properties/layout/display
- tuts/css/properties/layout/flex
- tuts/css/properties/layout/float
- tuts/css/properties/layout/gap
- tuts/css/properties/layout/grid-template-columns
- tuts/css/properties/layout/justify-content
Related notes
- tuts/css/properties Linked here; links to this page; shared tags: #css, #index, #properties, #web
- tuts/css/properties/box_model Linked here; links to this page; shared tags: #css, #index, #properties, #web
- tuts/css/properties/layout/align-items Linked here; links to this page; shared tags: #css, #layout, #properties, #web
- tuts/css/properties/layout/display Linked here; links to this page; shared tags: #css, #layout, #properties, #web
- tuts/css/properties/layout/flex Linked here; links to this page; shared tags: #css, #layout, #properties, #web
- tuts/css/properties/layout/float Linked here; links to this page; shared tags: #css, #layout, #properties, #web
- tuts/css/properties/layout/gap Linked here; links to this page; shared tags: #css, #layout, #properties, #web
- tuts/css/properties/layout/grid-template-columns Linked here; links to this page; shared tags: #css, #layout, #properties, #web
- tuts/css/properties/layout/justify-content Linked here; links to this page; shared tags: #css, #layout, #properties, #web
- tuts/css/properties/display_and_layout Linked here; shared tags: #css, #layout, #properties, #web