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

1D barcodes and 2D matrix codes are alternative, machine readable, monochromatic graphic representations of textual content. Using image files for them is roughly like Word Art. So, ideally, it would be used something like this:

~~~~ html
<code>text to be encoded</code>

<a href="url:to.be/encoded">label</a>
~~~~
~~~~ css
code {
  display: code; /* add magic */
}

a::after {
  display: code;
  content: attr(href);
}

:root {
  code-redundancy: high; /* ECC */
  code-unit: 1mm;
  code-type: quick-response;
}
~~~~

(`display` and `code` are probably not the best choices, but hopefully get the idea across.)

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6544#issuecomment-965598443 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 November 2021 17:59:51 UTC