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

Re: [csswg-drafts] [css-grid] Decorative grid-cell pseudo-elements

From: Oliver Williams via GitHub <sysbot+gh@w3.org>
Date: Tue, 21 Nov 2017 16:33:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-346083675-1511282020-sysbot+gh@w3.org>
I have used grid on 3 websites and have need to selectively apply borders based on the row/column the item is in (e.g. border-bottom but not on items in the bottom row). 

You can see an example here: https://www.nature.com/nplants/

In both cases I used overflow: hidden. It worked well but feels hacky. Any potential solution for that? e.g. ability to select elements by the column or row they are in? Using current nth-child solutions can get very complicated!

GitHub Notification of comment by o-t-w
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/499#issuecomment-346083675 using your GitHub account
Received on Tuesday, 21 November 2017 16:33:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 21 November 2017 16:33:49 UTC