Skip to main content

parse_grid_tracks

Function parse_grid_tracks 

Source
pub(crate) fn parse_grid_tracks(s: &str, base: i32) -> Vec<GridTrack>
Expand description

grid-template-rows / grid-template-columns を GridTrack のリストへ展開。 repeat(N, def) / repeat(auto-fit|auto-fill, def) を展開する。base は %/auto-fit 用。