Skip to content

Instantly share code, notes, and snippets.

@kcrwfrd
Last active January 2, 2016 18:18
Show Gist options
  • Save kcrwfrd/8342228 to your computer and use it in GitHub Desktop.
Save kcrwfrd/8342228 to your computer and use it in GitHub Desktop.
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/assets/img/favicon/apple-touch-icon-152x152-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/assets/img/favicon/apple-touch-icon-144x144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/assets/img/favicon/apple-touch-icon-120x120-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/img/favicon/apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/assets/img/favicon/apple-touch-icon-76x76-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/img/favicon/apple-touch-icon-72x72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="/assets/img/favicon/apple-touch-icon-precomposed.png">
<link rel="icon" href="/assets/img/favicon/favicon-16x16.png" sizes="16x16">
<link rel="icon" href="/assets/img/favicon/favicon-32x32.png" sizes="32x32">
<link rel="icon" href="/assets/img/favicon/favicon-48x48.png" sizes="48x48">
<link rel="icon" href="/assets/img/favicon/favicon-64x64.png" sizes="64x64">
<link rel="icon" href="/assets/img/favicon/favicon-96x96.png" sizes="96x96">
<link rel="icon" href="/assets/img/favicon/favicon-128x128.png" sizes="128x128">
<!-- Finally, include a favicon.ico file in your root dir with 32x32 and 16x16 sizes -->
# these are the settings used by html5 boilerplate
pngcrush -d ./crushed/ -rem allb -brute -reduced *.png
# now create an .ico file
png2ico favicon.ico favicon-16x16.png favicon-32x32.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment