Skip to content

Instantly share code, notes, and snippets.

@ryanjames
Last active August 29, 2015 14:07
Show Gist options
  • Save ryanjames/ec8c4a959f5130472220 to your computer and use it in GitHub Desktop.
Save ryanjames/ec8c4a959f5130472220 to your computer and use it in GitHub Desktop.
Some nice boilerplate CSS
@media screen and (max-device-width: 480px) {
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
}
}
*, *:before, *:after { box-sizing: border-box }
body {
overflow-x: hidden;
text-rendering: optimizeLegibility
}
input::-moz-focus-inner { border: 0 }
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #000
}
a, a:hover, a:active, a:focus { outline: 0 }
img { width: 100% }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment