W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

[csswg-drafts] [css-images][css-values] qrcode() for generating QR code images from URLs (#6544)

From: Theresa O'Connor via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Aug 2021 18:09:24 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-979494482-1629914962-sysbot+gh@w3.org>
hober has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images][css-values] qrcode() for generating QR code images from URLs ==
Generating QR code images from URLs is more and more common these days. It'd be nice if you could generate QR code images from CSS.

For example, you could generate QR codes for links in a print stylesheet:

```css
@media print {
    ul.citations > li > a::after {
        background-image: qrcode(attr(href));
        ...
    }
}
```

Thought of this while reading a twitter thread between @jyasskin @dauwhe @tabatkins: https://twitter.com/jyasskin/status/1430586358658043909

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6544 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 August 2021 18:09:25 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:48 UTC