Re: [csswg-drafts] [css-grid] span count starts only on explicit grid? (#4705)

@Loirooriol is exactly correct in their answers here.

In `span 4 / 5`, the `span` part just tells you how far apart the start and end lines will be. Whether the other number tells you the box will *start* or *end* on the provided line depends on whether it's the first or second value; in this case 5 is the second value, telling you that the grid item will *end* on line 5, and so it'll start 4 lines earlier (line 1) .

If you reversed the values to `5 / span 4`, it would instead *start* on line 5, and then count 4 lines forward, ending on line 9.

I'm going to go ahead and close this issue, as your question has been answered.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4705#issuecomment-579457582 using your GitHub account

Received on Tuesday, 28 January 2020 21:11:06 UTC