Skip to content

[css-grid] The definition of grid span #1994

@xfq

Description

@xfq

The definition for grid span says:

How many grid tracks the grid item occupies. A grid item’s grid span is always definite, defaulting to 1 if it can’t be otherwise determined.

I don't understand the definition here. In the definition for grid track:

Grid track is a generic term for a grid column or grid row—in other words, it is the space between two adjacent grid lines.

If a grid item occupies two rows and three columns, what is the grid span of that grid item? Is it five (2 + 3)? Or is it six (2 * 3)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions