Skip to content

Instantly share code, notes, and snippets.

@nateroling
Last active August 29, 2015 14:13
Show Gist options
  • Save nateroling/bf1dfb9ea0aa4309d87a to your computer and use it in GitHub Desktop.
Save nateroling/bf1dfb9ea0aa4309d87a to your computer and use it in GitHub Desktop.
// http://stackoverflow.com/questions/6654958/make-body-have-100-of-the-browser-height
html { height: 100%; }
body { min-height: 100%; }
// http://www.paulirish.com/2012/box-sizing-border-box-ftw/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
// http://alistapart.com/article/axiomatic-css-and-lobotomized-owls
* { margin: 0; padding: 0; }
* + * { margin-top: 1em; }
// https://twitter.com/joonasy/status/532894302809391104
* + br { margin-top: 0; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment