W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2016

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Sep 2016 14:20:28 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-177797864-1474294818-sysbot+gh@w3.org>
tabatkins has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-grid] Decorative grid-cell pseudo-elements ==
@jensimmons proposes adding a grid-cell pseudo so you can add 
(responsive) decorative elements to grids without having to add empty 
elements to your page.

Syntax like:

```
#grid::grid-area(1 / 2 / 3 / 4) {
  background-color: red; /* etc */
  /* grid-positioning properties are blacklisted */
}
```

Also some way of controlling whether or not that takes up auto-flow 
space. Might want to reserve space or not. Can we base this on 
'content' or something? Or do we need a new property?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/499 using your GitHub 
account
Received on Monday, 19 September 2016 14:20:36 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:23 UTC