Skip to content

[css-grid] I think the gutter math behind cell sizes is broken #563

@corysimmons

Description

@corysimmons

https://www.w3.org/TR/css-grid-1/

https://codepen.io/corysimmons/pen/vXxpjY?editors=1100

In the 'els per row' example, there is symmetry related to the "correct" (hard to mess up that math) solution. In all other grids, including grid spec, there is no symmetry related to the correct solution.

I understand what grid spec is doing, and it's definitely easier to reason about... but is it right?

Grids were invented to derive functional beauty from math.

Grid spec and all grids don't seem as beautiful as the symmetrical solution.

I want to embrace grid spec when it lands (dat markup), but this seems more important to the designer in me. If it is agreed upon that it's broken, I'm sorry I didn't notice the general problem sooner.

Anxious to hear everyone's thoughts on this...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions