- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Sat, 28 Jul 2018 09:30:59 +0000
- To: public-css-archive@w3.org
Something like this could also be used for some cases of list styling:
```css
li {display :inline;}
ul::between { content: ", "; }
ul::after { content: "."; }
:lang(jp) ul::between { content: "、"; }
:lang(jp) ul::after { content: "。"; }
```
You can do that with existing selectors though.
If what you're trying to put separators between is a bunch of buttons or a bunch of links (without a wrapping element), it's true that `::after` would insert the separator inside of the buttons/links, which is not what you'd want.
--
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2960#issuecomment-408595070 using your GitHub account
Received on Saturday, 28 July 2018 09:31:34 UTC