Readings : CSS Layout

Chapter15 :: “layout”

css-positioning

css-position-all




Grid

  1. define grid container element (parent) -> display: grid
  2. set its column and row sizes -> grid-template-columns and grid-template-rows
  3. place grid items (children) into the grid -> grid-column and grid-row

Terminology

  1. grid container
  2. grid item
  3. grid line = The dividing lines that make up the structure of the grid.
  4. grid track = column or row
  5. grid cell = a single “unit” of the grid.
  6. grid area = The total space surrounded by four grid lines. Can contain any number of cells.




Layout Summary



You Can Read More About CSS Position, HERE