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

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

From: BigBlueHat via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Aug 2021 18:34:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-905777100-1629916465-sysbot+gh@w3.org>
Would a pseudo protocol have wider application--and still be viable in CSS?

Maybe...
```css
body { background-image: "qrcode:https://w3.org/" }
# though the actual text may have to be URI encoded...
body { background-image: "qrcode:https%3A%2F%2Fw3.org%2F" }
```

```html
<img src="qrcode:https://w3.org/" />
<!-- or -->
<img src="qrcode:https%3A%2F%2Fw3.org%2F" />
```

-- 
GitHub Notification of comment by BigBlueHat
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6544#issuecomment-905777100 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:34:28 UTC

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