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

I like `span-minmax()` for allowing to clamp the track spanning, though that seems to deserve its own issue and doesn't solve the initially stated use case of always spanning up to the last track no matter whether it's implicit or explicit.

For what it's worth, my initial use case was to rebuild a tax declaration form (see e.g. https://www.steuern.de/fileadmin/user_upload/Steuerformulare_2020/Anlage_N_20_sw.pdf), which has a line number at the beginning of each row. And each row has a bunch of text and input fields. As the form should be responsive, the text input fields could break into multiple lines.

My idea back then was to use a grid for each line and let the line number element span the whole line.

There are surely other ways to achieve this, though there are definitely similar use cases, in which it is required to let items span 'til the last track.

Sebastian

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


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

Received on Tuesday, 5 January 2021 22:03:41 UTC