W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

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

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Jan 2021 22:03:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-754929762-1609884217-sysbot+gh@w3.org>
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.


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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:25 UTC