pub type GridTemplateComponent = GenericGridTemplateComponent<LengthPercentage, Integer>;
Expand description

<grid-template-rows> | <grid-template-columns>

Aliased Type§

enum GridTemplateComponent {
    None,
    TrackList(Box<GenericTrackList<LengthPercentage, Integer>>),
    Subgrid(Box<GenericLineNameList<Integer>>),
    Masonry,
}

Variants§

§

None

none value.

§

TrackList(Box<GenericTrackList<LengthPercentage, Integer>>)

The grid <track-list>

§

Subgrid(Box<GenericLineNameList<Integer>>)

A subgrid <line-name-list>? TODO: Support animations for this after subgrid is addressed in [grid-2] spec.

§

Masonry

masonry value. https://github.com/w3c/csswg-drafts/issues/4650