Last active
December 21, 2015 19:18
-
-
Save nessthehero/6352885 to your computer and use it in GitHub Desktop.
Common CSS Reset styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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