W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2017

Re: [csswg-drafts] [css-grid] Ability to target items in nth-row of autofilled, implicit grid

From: Wes Bos via GitHub <sysbot+gh@w3.org>
Date: Mon, 06 Nov 2017 19:13:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-342253971-1509995599-sysbot+gh@w3.org>
Thanks for opening this - here are a few use cases in which I'd fine it useful:

Styling elements that spill onto the second row or column:
![resize-observer-grid](https://user-images.githubusercontent.com/176013/32459064-74bf3c0a-c2fc-11e7-9349-aae256225831.gif)

Tiger Striping rows/columns

![odd-even-grid](https://user-images.githubusercontent.com/176013/32459075-7cf7b8ca-c2fc-11e7-8fdc-e1fb3104e8c1.gif)

I like @jensimmons's suggestion to selecting the track as I could see the need to doing specific TRBL grid-gap on each of those. 


-- 
GitHub Notification of comment by wesbos
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1943#issuecomment-342253971 using your GitHub account
Received on Monday, 6 November 2017 19:13:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 6 November 2017 19:13:27 UTC