Skip to content
#

favicon

Here are 214 public repositories matching this topic...

flyingff
flyingff commented Nov 19, 2019

here is my HTML code:

<link rel="icon" media="screen" href="A" type="image/png" />
<link rel="icon" media="(prefers-color-scheme:dark)" href="B" type="image/png" />
<link rel="icon" media="(prefers-color-scheme:light)" href="C" type="image/png" />

The first link is used as a fallback for those browser doesn't support prefers-color-scheme.

(Tested with Chrome)
When URL A point

Improve this page

Add a description, image, and links to the favicon topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the favicon topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.