Skip to content

Instantly share code, notes, and snippets.

@nessthehero
Last active December 21, 2015 19:18
Show Gist options
  • Save nessthehero/6352885 to your computer and use it in GitHub Desktop.
Save nessthehero/6352885 to your computer and use it in GitHub Desktop.
Common CSS Reset styles
body * {
word-break: break-word;
word-wrap: break-word;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
background-color: transparent;
background-position: top center;
background-repeat: no-repeat;
}
a { text-decoration: none; }
a:hover,
a:focus { text-decoration: underline; }
input[type='text'],
textarea,
select { background-color: #fff; max-width: 100%; }
input[type='radio'],
input[type='checkbox'] { margin: 0 0.4em; }
img { max-width: 100%; }
table,
tbody,
tr,
td { border: 1px solid #000; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment