Skip to content

Instantly share code, notes, and snippets.

@ryanlombardo
Last active August 29, 2015 13:56
Show Gist options
  • Save ryanlombardo/8979272 to your computer and use it in GitHub Desktop.
Save ryanlombardo/8979272 to your computer and use it in GitHub Desktop.
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: relative;
}
html, body {
margin: 0;
padding: 0;
}
h1 {
margin: 0;
padding: 0;
}
/* IMAGE REPLACEMENT
---------------------------------------- */
.ir {
background-color: transparent;
border: 0;
overflow: hidden;
/* IE 6/7 fallback */
*text-indent: -9999px;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 150%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment