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

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