W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-pseudo-4] new generated content pseudo :between/:separator

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Sat, 28 Jul 2018 12:05:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-408603120-1532779546-sysbot+gh@w3.org>
My `::contents` proposal (#2406) would solve your use-case:

```css
ul.recycler {
  display: contents;
}
ul.recycler::contents {
  display: block;
}
ul.recycler + ul.recycler::before {
  display: block;
  content: "";
  border-bottom: 1px solid #ccc;
  margin: 0 40px
}
```

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2960#issuecomment-408603120 using your GitHub account
Received on Saturday, 28 July 2018 12:05:51 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 28 July 2018 12:05:55 UTC