Module taffy::compute::grid::alignment

source Β·
Expand description

Alignment of tracks and final positioning of items

Functions§

  • Align and size a grid item into it’s final position
  • Align and size a grid item along a single axis
  • align_tracks πŸ”’
    Align the grid tracks within the grid according to the align-content (rows) or justify-content (columns) property. This only does anything if the size of the grid is not equal to the size of the grid container in the axis being aligned.