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

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