Skip to content

Instantly share code, notes, and snippets.

@20minutos
20minutos / gist:5318375
Created April 5, 2013 10:49
Blog404: Todo lo que necesitas saber sobre el favicon
<link rel="apple-touch-icon" href="path/to/touchicon.png">
<link rel="icon" href="path/to/favicon.png">
<!--[if IE]><link rel="shortcut icon" href="path/to/favicon.ico"><![endif]-->
<!-- or, set /favicon.ico for IE10 win -->
<meta name="msapplication-TileColor" content="#D83434">
<meta name="msapplication-TileImage" content="path/to/tileicon.png">
@20minutos
20minutos / normalized.html
Created July 10, 2012 13:16 — forked from scottkellum/normalized.html
pixel normalization
<!doctype html>
<html>
<head>
<!-- Encoding -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta>
@20minutos
20minutos / paginator.html
Created July 10, 2012 13:14 — forked from lancejpollard/paginator.html
Semantic Pagination HTML5
<nav class="paginator" role="toolbar">
<ul class="goto-pages">
<li class="goto-search">
<a href="#search" class="search-pages" title="Toggle Advanced Search">&#8981;</a>
</li>
<li class="goto-page">
<a href="/admin/users?page=1" aria-disabled="true" class="first-page disabled" data-page="1" rel="first" title="Go to the first page">&#8676;</a>
</li>
<li class="goto-page">
<a href="/admin/users?page=1" aria-disabled="true" class="prev-page disabled" data-page="1" rel="prev" title="Go to page 1">&#8672;</a>
@20minutos
20minutos / css-simple-clearfix.html
Created May 24, 2012 10:05
Clearfix "simple" con CSS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style>
body {color:#FFF; font-weight:bold; text-transform:uppercase;}
#contenedor {width:480px; padding:20px; background-color:yellow;}