Skip to content

Instantly share code, notes, and snippets.

@doomkit
Created September 8, 2019 19:39
Show Gist options
  • Save doomkit/33d97c9024e800dc1d8851368e57176a to your computer and use it in GitHub Desktop.
Save doomkit/33d97c9024e800dc1d8851368e57176a to your computer and use it in GitHub Desktop.

Revisions

  1. doomkit created this gist Sep 8, 2019.
    10 changes: 10 additions & 0 deletions browserconfig.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    <?xml version="1.0" encoding="utf-8"?>
    <browserconfig>
    <msapplication>
    <tile>
    <square70x70logo src=“favicon-76.png”/>
    <square150x150logo src="favicon-228.png"/>
    <TileColor>#2b5797</TileColor>
    </tile>
    </msapplication>
    </browserconfig>
    24 changes: 24 additions & 0 deletions favicons.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    <!-- generics -->
    <link rel="icon" href="/path/favicon-32.png" sizes="32x32" />
    <link rel="icon" href="/path/favicon-57.png" sizes="57x57" />
    <link rel="icon" href="/path/favicon-76.png" sizes="76x76" />
    <link rel="icon" href="/path/favicon-96.png" sizes="96x96" />
    <link rel="icon" href="/path/favicon-128.png" sizes="128x128" />
    <link rel="icon" href="/path/favicon-192.png" sizes="192x192" />
    <link rel="icon" href="/path/favicon-228.png" sizes="228x228" />

    <!-- Android -->
    <link rel="shortcut icon" sizes="196x196"
    href=“/path/favicon-196.png">

    <!-- iOS -->
    <link rel="apple-touch-icon" href="/path/favicon-120.png" sizes="120x120" />
    <link rel="apple-touch-icon" href="/path/favicon-152.png" sizes="152x152" />
    <link rel="apple-touch-icon" href="/path/favicon-180.png" sizes="180x180" />

    <!-- Windows 8 IE 10-->
    <meta name="msapplication-TileColor" content="#FFFFFF" />
    <meta name="msapplication-TileImage" content="/path/favicon-144.png" />

    <!— Windows 8.1 + IE11 and above —>
    <meta name="msapplication-config" content="/path/browserconfig.xml" />