Re: [csswg-drafts] [css-grid] Display any element as part of any given grid

> When naming a grid you're always binding it to an element, right? ... to which you point using a CSS selector

My point here was that the same element can match different CSS selectors in different moments of time (e.g. `div:nth-child(2)` becomes `div:nth-child(4)` if two more `div`s are dynamically inserted before it). To maintain the reference to the same grid, you will have to update this selector after any DOM change. With manually named grid, this would not be the case — the DOM and CSS concerns are separated better.

> My main wish is the functionality enabling us to display any element as grid item of any grid.

Mine too. That's why I'm for the syntax that would be (probably) easier and faster to implement! :)

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

Received on Wednesday, 16 May 2018 08:52:33 UTC