Skip to main content

grid

Function grid 

Source
pub fn grid(columns: u16, gap: impl Into<Gap>) -> Style
Expand description

A grid of columns equal columns, gap apart.

Each column is minmax(0, 1fr), so long content wraps inside its column rather than widening it.