W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

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

From: Anthony Ricaud via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 Feb 2019 21:32:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-467622251-1551216728-sysbot+gh@w3.org>
Following https://twitter.com/AmeliasBrain/status/1100162917893234688, I'd like to express a use-case for replaced elements. In my first years, I tried several times to do something similar to:
```css
input:required::after {
    content: "*";
    color: red;
}
```

I've also had to explain why this can't work to co-workers.

I could imagine wanting to prepend an icon like 🔗 to `type=url` or 📩 to `type=email`.

-- 
GitHub Notification of comment by rik
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2960#issuecomment-467622251 using your GitHub account
Received on Tuesday, 26 February 2019 21:32:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:44 UTC