Re: [csswg-drafts] [css-grid] Indefinite spans (#388)

Want to add to this — having something like `span-minmax` would really help in a lot of cases.

Here is the layout that I wanted to achieve recently: https://codepen.io/kizu/pen/KKXXxZr — it works perfectly when the context is wide enough, but fails for narrow context due to the item with `span 2` creating an implicit column. In this case it could've been something like `span-minmax(1, 2)`.

The current behavior can break the layouts that seem to be well-defined otherwise:
<img width="312" alt="Screenshot 2021-12-23 at 17 03 30" src="https://user-images.githubusercontent.com/177485/147266471-3c8ed9b9-4f58-4978-999b-ba12853365c8.png">


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 23 December 2021 16:16:32 UTC