Skip to content

Instantly share code, notes, and snippets.

@aquillano
Created June 26, 2014 18:51
Show Gist options
  • Save aquillano/76dd150ec53ed08fe4bd to your computer and use it in GitHub Desktop.
Save aquillano/76dd150ec53ed08fe4bd to your computer and use it in GitHub Desktop.
Viewport nudge
/**
* Viewport nudge
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 1000px;
}
.nudge {
position: fixed;
height: 30px;
bottom: 0;
width: 100%;
background: blue;
}
<!-- content to be placed inside <body>…</body> -->
<div class="nudge">
<p>Howdy</p>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment