Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sizes attribute #235

Open
edwardcwang opened this issue Apr 14, 2022 · 1 comment
Open

Add sizes attribute #235

edwardcwang opened this issue Apr 14, 2022 · 1 comment

Comments

@edwardcwang
Copy link
Contributor

This can be used in <link> e.g. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-icon-114.png" type="image/png">.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link

@edwardcwang edwardcwang changed the title Add sizes attribute`` Add sizes attribute Apr 14, 2022
@djneades
Copy link

The sizes attribute is also recommended in many guides relating to favourite icons, such as this one. It would therefore be good to have.

In the meantime, a workaround is to use something along the lines of attr("sizes") := "any".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants