Skip to content

[css-grid] Simplifying the new syntaxt of the grid shorthand  #438

Closed
@javifernandez

Description

@javifernandez

https://drafts.csswg.org/css-grid/#grid-shorthand

The new syntax suggests the use of " [ auto-flow && dense? ]" instead of reusing the current syntax. The only different is that allows omitting the 'auto-flow' value, assuming 'row' in that case.

My proposal would be the following syntax:

<‘grid-template-rows’> / <'grid-auto-flow'> <‘grid-auto-columns’>? | <'grid-auto-flow'> <‘grid-auto-rows’>? / <‘grid-template-columns’>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions