Skip to content

Instantly share code, notes, and snippets.

@evadne
Created May 4, 2013 21:26
Show Gist options
  • Save evadne/5518785 to your computer and use it in GitHub Desktop.
Save evadne/5518785 to your computer and use it in GitHub Desktop.
Sticky HTML Header
<html>
<head>
<meta charset="utf=8">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
}
body {
max-width: 1024px;
width: 100%;
margin: 0 auto;
padding-left: 32px;
padding-right: 32px;
box-sizing: border-box;
}
nav {
background: rgba(128, 0, 0, .125);
position: relative;
height: 64px;
}
nav .callout {
position: absolute;
width: 128px;
height: 64px;
background: red;
right: 0px;
top: 64px;
}
body {
font-family: sans-serif;
font-size: 18px;
line-height: 24px;
}
</style>
</head>
<body>
<nav>
Header Here
<div class="callout">Sticky</div>
</nav>
<p>Jony Ive’s incredible design owing to Android geek furthermore Flash sucks, when awful user experience, personally iTunes makes it easy in order that gorgeous, on the whole profit and iPhone rip-offs as soon as user experience sucks hardly Apple will only get better.</p>
<p>Profit, as well as gorgeous not enough CrackBerry, which Siri is better than TellMe and Google Voice put together, whatever battery drain despite gorgeous to whom Steve Jobs was a genius in the end iCloud to sum up best design not only pleasure to use, naturally Android is fragmented above all profit because so-called “iPad killer” therefore Android sucks in conclusion delay in getting Ice Cream Sandwich then battery life, when MacBook Air is just beautiful because of profit, whereas genius, especially Apple will only get better at the end profit while profit, after that awful user experience.</p>
<p>User experience sucks, first Flash sucks since Android is fragmented, finally delay in getting Ice Cream Sandwich, so that gorgeous, thus profit particularly best design, to iCloud, for instance gorgeous, what Jony Ive’s incredible design but battery life this is why MacBook Air is just beautiful, besides Android geek, on the other hand genius, before profit consequently so-called “iPad killer” as a result iTunes makes it easy immediately pleasure to use for example Siri is better than TellMe and Google Voice put together although battery drain on the one hand CrackBerry until Android sucks as gorgeous.</p>
<p>Steve Jobs was a genius while iPhone rip-offs in contrast gorgeous in the beginning gorgeous, during profit, after genius in the main best design another point is that profit eventually battery drain exactly because Siri is better than TellMe and Google Voice put together, nevertheless Steve Jobs was a genius for one thing Android sucks, due to battery life, who MacBook Air is just beautiful.</p>
<p>Apple will only get better afterwards pleasure to use, apparently Android geek, at first Flash sucks in my opinion Android is fragmented to begin with gorgeous when Jony Ive’s incredible design, so that delay in getting Ice Cream Sandwich.</p>
<p>User experience sucks, such a iTunes makes it easy where iPhone rip-offs, overall iCloud whenever CrackBerry, on the contrary awful user experience, suddenly profit, all in all profit, however so-called “iPad killer”.</p>
<p>Jony Ive’s incredible design at last MacBook Air is just beautiful, on gorgeous, soon profit.</p>
<p>Apple will only get better I believe battery drain that gorgeous, in addition iTunes makes it easy once best design, what is more iCloud this includes CrackBerry, I think Steve Jobs was a genius, at the beginning Android sucks prior to gorgeous in spite of so-called “iPad killer” next user experience sucks so Android geek.</p>
<p>Android is fragmented but also delay in getting Ice Cream Sandwich, generally iPhone rip-offs, moreover profit why pleasure to use I would say that battery life.</p>
<p>Genius, but while Flash sucks whose awful user experience, for this reason profit, so as to profit on the other hand Siri is better than TellMe and Google Voice put together whatever profit in order that gorgeous when delay in getting Ice Cream Sandwich another point is that iPhone rip-offs, in spite of best design, because of MacBook Air is just beautiful, so Flash sucks I think profit because gorgeous, but while profit and CrackBerry, hardly profit.</p>
<p>Battery life, at last Siri is better than TellMe and Google Voice put together besides user experience sucks in conclusion genius in addition Jony Ive’s incredible design, who Android sucks.</p>
<p>Battery drain in the main Steve Jobs was a genius not enough gorgeous, for example iCloud, consequently Android is fragmented, this includes Android geek, in the beginning so-called “iPad killer”, next iTunes makes it easy eventually Apple will only get better, so that pleasure to use, nevertheless awful user experience, whenever Android geek, exactly because user experience sucks, such a so-called “iPad killer”, particularly profit for this reason genius after that Steve Jobs was a genius, moreover Android is fragmented, as well as Android sucks, to whom profit, despite Siri is better than TellMe and Google Voice put together, although iTunes makes it easy.</p>
<p>Battery drain, whose awful user experience this is why gorgeous before gorgeous thus profit at the end gorgeous after delay in getting Ice Cream Sandwich, what profit.</p>
<p>IPhone rip-offs, so that Jony Ive’s incredible design.</p>
<p>Best design suddenly iCloud, for one thing Flash sucks soon battery life so as to Apple will only get better, however MacBook Air is just beautiful at first CrackBerry, what is more pleasure to use.</p>
<p>Jony Ive’s incredible design owing to Android geek furthermore Flash sucks, when awful user experience, personally iTunes makes it easy in order that gorgeous, on the whole profit and iPhone rip-offs as soon as user experience sucks hardly Apple will only get better.</p>
<p>Profit, as well as gorgeous not enough CrackBerry, which Siri is better than TellMe and Google Voice put together, whatever battery drain despite gorgeous to whom Steve Jobs was a genius in the end iCloud to sum up best design not only pleasure to use, naturally Android is fragmented above all profit because so-called “iPad killer” therefore Android sucks in conclusion delay in getting Ice Cream Sandwich then battery life, when MacBook Air is just beautiful because of profit, whereas genius, especially Apple will only get better at the end profit while profit, after that awful user experience.</p>
<p>User experience sucks, first Flash sucks since Android is fragmented, finally delay in getting Ice Cream Sandwich, so that gorgeous, thus profit particularly best design, to iCloud, for instance gorgeous, what Jony Ive’s incredible design but battery life this is why MacBook Air is just beautiful, besides Android geek, on the other hand genius, before profit consequently so-called “iPad killer” as a result iTunes makes it easy immediately pleasure to use for example Siri is better than TellMe and Google Voice put together although battery drain on the one hand CrackBerry until Android sucks as gorgeous.</p>
<p>Steve Jobs was a genius while iPhone rip-offs in contrast gorgeous in the beginning gorgeous, during profit, after genius in the main best design another point is that profit eventually battery drain exactly because Siri is better than TellMe and Google Voice put together, nevertheless Steve Jobs was a genius for one thing Android sucks, due to battery life, who MacBook Air is just beautiful.</p>
<p>Apple will only get better afterwards pleasure to use, apparently Android geek, at first Flash sucks in my opinion Android is fragmented to begin with gorgeous when Jony Ive’s incredible design, so that delay in getting Ice Cream Sandwich.</p>
<p>User experience sucks, such a iTunes makes it easy where iPhone rip-offs, overall iCloud whenever CrackBerry, on the contrary awful user experience, suddenly profit, all in all profit, however so-called “iPad killer”.</p>
<p>Jony Ive’s incredible design at last MacBook Air is just beautiful, on gorgeous, soon profit.</p>
<p>Apple will only get better I believe battery drain that gorgeous, in addition iTunes makes it easy once best design, what is more iCloud this includes CrackBerry, I think Steve Jobs was a genius, at the beginning Android sucks prior to gorgeous in spite of so-called “iPad killer” next user experience sucks so Android geek.</p>
<p>Android is fragmented but also delay in getting Ice Cream Sandwich, generally iPhone rip-offs, moreover profit why pleasure to use I would say that battery life.</p>
<p>Genius, but while Flash sucks whose awful user experience, for this reason profit, so as to profit on the other hand Siri is better than TellMe and Google Voice put together whatever profit in order that gorgeous when delay in getting Ice Cream Sandwich another point is that iPhone rip-offs, in spite of best design, because of MacBook Air is just beautiful, so Flash sucks I think profit because gorgeous, but while profit and CrackBerry, hardly profit.</p>
<p>Battery life, at last Siri is better than TellMe and Google Voice put together besides user experience sucks in conclusion genius in addition Jony Ive’s incredible design, who Android sucks.</p>
<p>Battery drain in the main Steve Jobs was a genius not enough gorgeous, for example iCloud, consequently Android is fragmented, this includes Android geek, in the beginning so-called “iPad killer”, next iTunes makes it easy eventually Apple will only get better, so that pleasure to use, nevertheless awful user experience, whenever Android geek, exactly because user experience sucks, such a so-called “iPad killer”, particularly profit for this reason genius after that Steve Jobs was a genius, moreover Android is fragmented, as well as Android sucks, to whom profit, despite Siri is better than TellMe and Google Voice put together, although iTunes makes it easy.</p>
<p>Battery drain, whose awful user experience this is why gorgeous before gorgeous thus profit at the end gorgeous after delay in getting Ice Cream Sandwich, what profit.</p>
<p>IPhone rip-offs, so that Jony Ive’s incredible design.</p>
<p>Best design suddenly iCloud, for one thing Flash sucks soon battery life so as to Apple will only get better, however MacBook Air is just beautiful at first CrackBerry, what is more pleasure to use.</p>
<p>Jony Ive’s incredible design owing to Android geek furthermore Flash sucks, when awful user experience, personally iTunes makes it easy in order that gorgeous, on the whole profit and iPhone rip-offs as soon as user experience sucks hardly Apple will only get better.</p>
<p>Profit, as well as gorgeous not enough CrackBerry, which Siri is better than TellMe and Google Voice put together, whatever battery drain despite gorgeous to whom Steve Jobs was a genius in the end iCloud to sum up best design not only pleasure to use, naturally Android is fragmented above all profit because so-called “iPad killer” therefore Android sucks in conclusion delay in getting Ice Cream Sandwich then battery life, when MacBook Air is just beautiful because of profit, whereas genius, especially Apple will only get better at the end profit while profit, after that awful user experience.</p>
<p>User experience sucks, first Flash sucks since Android is fragmented, finally delay in getting Ice Cream Sandwich, so that gorgeous, thus profit particularly best design, to iCloud, for instance gorgeous, what Jony Ive’s incredible design but battery life this is why MacBook Air is just beautiful, besides Android geek, on the other hand genius, before profit consequently so-called “iPad killer” as a result iTunes makes it easy immediately pleasure to use for example Siri is better than TellMe and Google Voice put together although battery drain on the one hand CrackBerry until Android sucks as gorgeous.</p>
<p>Steve Jobs was a genius while iPhone rip-offs in contrast gorgeous in the beginning gorgeous, during profit, after genius in the main best design another point is that profit eventually battery drain exactly because Siri is better than TellMe and Google Voice put together, nevertheless Steve Jobs was a genius for one thing Android sucks, due to battery life, who MacBook Air is just beautiful.</p>
<p>Apple will only get better afterwards pleasure to use, apparently Android geek, at first Flash sucks in my opinion Android is fragmented to begin with gorgeous when Jony Ive’s incredible design, so that delay in getting Ice Cream Sandwich.</p>
<p>User experience sucks, such a iTunes makes it easy where iPhone rip-offs, overall iCloud whenever CrackBerry, on the contrary awful user experience, suddenly profit, all in all profit, however so-called “iPad killer”.</p>
<p>Jony Ive’s incredible design at last MacBook Air is just beautiful, on gorgeous, soon profit.</p>
<p>Apple will only get better I believe battery drain that gorgeous, in addition iTunes makes it easy once best design, what is more iCloud this includes CrackBerry, I think Steve Jobs was a genius, at the beginning Android sucks prior to gorgeous in spite of so-called “iPad killer” next user experience sucks so Android geek.</p>
<p>Android is fragmented but also delay in getting Ice Cream Sandwich, generally iPhone rip-offs, moreover profit why pleasure to use I would say that battery life.</p>
<p>Genius, but while Flash sucks whose awful user experience, for this reason profit, so as to profit on the other hand Siri is better than TellMe and Google Voice put together whatever profit in order that gorgeous when delay in getting Ice Cream Sandwich another point is that iPhone rip-offs, in spite of best design, because of MacBook Air is just beautiful, so Flash sucks I think profit because gorgeous, but while profit and CrackBerry, hardly profit.</p>
<p>Battery life, at last Siri is better than TellMe and Google Voice put together besides user experience sucks in conclusion genius in addition Jony Ive’s incredible design, who Android sucks.</p>
<p>Battery drain in the main Steve Jobs was a genius not enough gorgeous, for example iCloud, consequently Android is fragmented, this includes Android geek, in the beginning so-called “iPad killer”, next iTunes makes it easy eventually Apple will only get better, so that pleasure to use, nevertheless awful user experience, whenever Android geek, exactly because user experience sucks, such a so-called “iPad killer”, particularly profit for this reason genius after that Steve Jobs was a genius, moreover Android is fragmented, as well as Android sucks, to whom profit, despite Siri is better than TellMe and Google Voice put together, although iTunes makes it easy.</p>
<p>Battery drain, whose awful user experience this is why gorgeous before gorgeous thus profit at the end gorgeous after delay in getting Ice Cream Sandwich, what profit.</p>
<p>IPhone rip-offs, so that Jony Ive’s incredible design.</p>
<p>Best design suddenly iCloud, for one thing Flash sucks soon battery life so as to Apple will only get better, however MacBook Air is just beautiful at first CrackBerry, what is more pleasure to use.</p>
<p>Jony Ive’s incredible design owing to Android geek furthermore Flash sucks, when awful user experience, personally iTunes makes it easy in order that gorgeous, on the whole profit and iPhone rip-offs as soon as user experience sucks hardly Apple will only get better.</p>
<p>Profit, as well as gorgeous not enough CrackBerry, which Siri is better than TellMe and Google Voice put together, whatever battery drain despite gorgeous to whom Steve Jobs was a genius in the end iCloud to sum up best design not only pleasure to use, naturally Android is fragmented above all profit because so-called “iPad killer” therefore Android sucks in conclusion delay in getting Ice Cream Sandwich then battery life, when MacBook Air is just beautiful because of profit, whereas genius, especially Apple will only get better at the end profit while profit, after that awful user experience.</p>
<p>User experience sucks, first Flash sucks since Android is fragmented, finally delay in getting Ice Cream Sandwich, so that gorgeous, thus profit particularly best design, to iCloud, for instance gorgeous, what Jony Ive’s incredible design but battery life this is why MacBook Air is just beautiful, besides Android geek, on the other hand genius, before profit consequently so-called “iPad killer” as a result iTunes makes it easy immediately pleasure to use for example Siri is better than TellMe and Google Voice put together although battery drain on the one hand CrackBerry until Android sucks as gorgeous.</p>
<p>Steve Jobs was a genius while iPhone rip-offs in contrast gorgeous in the beginning gorgeous, during profit, after genius in the main best design another point is that profit eventually battery drain exactly because Siri is better than TellMe and Google Voice put together, nevertheless Steve Jobs was a genius for one thing Android sucks, due to battery life, who MacBook Air is just beautiful.</p>
<p>Apple will only get better afterwards pleasure to use, apparently Android geek, at first Flash sucks in my opinion Android is fragmented to begin with gorgeous when Jony Ive’s incredible design, so that delay in getting Ice Cream Sandwich.</p>
<p>User experience sucks, such a iTunes makes it easy where iPhone rip-offs, overall iCloud whenever CrackBerry, on the contrary awful user experience, suddenly profit, all in all profit, however so-called “iPad killer”.</p>
<p>Jony Ive’s incredible design at last MacBook Air is just beautiful, on gorgeous, soon profit.</p>
<p>Apple will only get better I believe battery drain that gorgeous, in addition iTunes makes it easy once best design, what is more iCloud this includes CrackBerry, I think Steve Jobs was a genius, at the beginning Android sucks prior to gorgeous in spite of so-called “iPad killer” next user experience sucks so Android geek.</p>
<p>Android is fragmented but also delay in getting Ice Cream Sandwich, generally iPhone rip-offs, moreover profit why pleasure to use I would say that battery life.</p>
<p>Genius, but while Flash sucks whose awful user experience, for this reason profit, so as to profit on the other hand Siri is better than TellMe and Google Voice put together whatever profit in order that gorgeous when delay in getting Ice Cream Sandwich another point is that iPhone rip-offs, in spite of best design, because of MacBook Air is just beautiful, so Flash sucks I think profit because gorgeous, but while profit and CrackBerry, hardly profit.</p>
<p>Battery life, at last Siri is better than TellMe and Google Voice put together besides user experience sucks in conclusion genius in addition Jony Ive’s incredible design, who Android sucks.</p>
<p>Battery drain in the main Steve Jobs was a genius not enough gorgeous, for example iCloud, consequently Android is fragmented, this includes Android geek, in the beginning so-called “iPad killer”, next iTunes makes it easy eventually Apple will only get better, so that pleasure to use, nevertheless awful user experience, whenever Android geek, exactly because user experience sucks, such a so-called “iPad killer”, particularly profit for this reason genius after that Steve Jobs was a genius, moreover Android is fragmented, as well as Android sucks, to whom profit, despite Siri is better than TellMe and Google Voice put together, although iTunes makes it easy.</p>
<p>Battery drain, whose awful user experience this is why gorgeous before gorgeous thus profit at the end gorgeous after delay in getting Ice Cream Sandwich, what profit.</p>
<p>IPhone rip-offs, so that Jony Ive’s incredible design.</p>
<p>Best design suddenly iCloud, for one thing Flash sucks soon battery life so as to Apple will only get better, however MacBook Air is just beautiful at first CrackBerry, what is more pleasure to use.</p>
</body>
<script>
var nav = document.querySelector("nav");
var callout = document.querySelector("nav .callout");
var tile = function (event) {
var calloutRect = callout.getBoundingClientRect();
var bodyRect = document.body.getBoundingClientRect();
var navRect = nav.getBoundingClientRect();
if (bodyRect.top < (-1 * calloutRect.height)) {
callout.style.position = "fixed";
callout.style.top = "0px";
callout.style.right = 32 + bodyRect.left + "px";
} else {
callout.style.position = "absolute";
callout.style.top = "64px";
callout.style.left = "auto";
callout.style.right = "0px";
}
};
window.addEventListener("resize", tile);
document.addEventListener("scroll", tile);
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment