Created
March 22, 2012 01:49
-
-
Save ntreadway/2155079 to your computer and use it in GitHub Desktop.
Responsive h5bp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Your Sick Page</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<!-- For iPhone 4 with high-resolution Retina display: --> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/h/apple-touch-icon.png"> | |
<!-- For first-generation iPad: --> | |
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/m/apple-touch-icon.png"> | |
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> | |
<link rel="apple-touch-icon-precomposed" href="img/l/apple-touch-icon-precomposed.png"> | |
<!-- For nokia devices: --> | |
<link rel="shortcut icon" href="img/l/apple-touch-icon.png"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<!-- The script prevents links from opening in mobile safari. https://gist.github.com/1042026 --> | |
<!-- <script>(function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")</script> --> | |
<!-- Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading --> | |
<meta http-equiv="cleartype" content="on"> | |
<link href="favicon.ico" rel="icon" type="image/x-icon" /> | |
<link rel="stylesheet" href="css/style.css"> | |
<script src="js/libs/modernizr-2.0.6.min.js"></script> | |
</head> | |
<body> | |
<!-- Prompt IE 6 users to install Chrome Frame.--> | |
<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]--> | |
<header> | |
<figure class="logo"> | |
<figcaption>Your Logo</figcaption> | |
</figure> | |
<nav> | |
<ul> | |
<li class="first"><a href="#home">Home</a></li> | |
<li><a href="#about">About</a></li> | |
<li><a href="#contact">Contact</a></li> | |
<li class="last"><a href="#work">Work</a></li> | |
</ul> | |
</nav> | |
</header> | |
<article id="container"> | |
</article> <!--! end of #container --> | |
<footer> | |
</footer> | |
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary --> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.1.min.js"><\/script>')</script> | |
<script defer src="js/plugins.js"></script> | |
<script defer src="js/application.js"></script> | |
<script type="text/javascript"> | |
window._gaq = [['_setAccount','UA-XXXXX-X'],['_trackPageview'],['_trackPageLoadTime']]; | |
Modernizr.load({ | |
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js' | |
}); | |
</script> | |
<!--[if lt IE 7 ]> | |
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script> | |
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script> | |
<![endif]--> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment