Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
* @package Normalize Style with goal CSS3 and html5-elements
* @author Hans Mustermann <info@inpsyde.com>
* @since 0.0.1
* @version 0.0.2
*
* Description: Normalize all browsers
*
* Normalize, inspired by http://bueltge.de/b/33 and http://bueltge.de/b/34
*/
* { margin: 0; padding: 0 }
fieldset, img, hr {
border: 0
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block
}
audio, canvas, video {
display: inline-block
}
audio:not([controls]) {
display: none
}
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
line-height: 1.5
}
body, button, input, select, textarea {
font-family: Arial, Helvetica, sans-serif;
color: #000;
font-size: .875em
}
h1, h2, h3, h4, h5, h6 {
line-height: 1
}
::-moz-selection {
background: red;
color: #fff;
text-shadow: none
}
::selection {
background: red;
color: #fff;
text-shadow: none
}
ul {
list-style: none
}
a {
color: red
}
a:visited {
color: darkred
}
a:hover {
color: pink
}
a:focus {
outline: thin dotted
}
a:hover, a:active {
outline: 0
}
abbr[title] {
border-bottom: 1px dotted
}
dfn {
font-style: italic
}
ins {
text-decoration: none
}
hr {
display: block;
height: 1px;
border-top: 1px solid #ccc;
margin: 1em 0
}
pre, code, kbd, samp {
font-family: "Courier New", monospace;
font-size: 1em
}
q {
quotes: none
}
q:before, q:after {
content: ""
}
small {
font-size: 85%
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline
}
sup {
top: -0.5em;
bottom: -0.25em
}
img {
vertical-align: middle
}
form * {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box
}
button {
width: auto;
overflow: visible
}
button, input, select, textarea {
font-size: 100%;
vertical-align: baseline;
line-height: normal
}
button, input[type="button"], input[type="reset"], input[type="submit"] {
cursor: pointer;
-webkit-appearance: button
}
button::-moz-focus-inner, input::-moz-focus-inner {
border: 0;
padding: 0
}
input[type="checkbox"], input[type="radio"] {
width: 13px;
vertical-align: baseline
}
input[type="search"] {
-webkit-appearance: textfield
}
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none
}
input::-webkit-input-placeholder, isindex::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
color: #6d6d6d
}
input:-moz-placeholder {
color: #6d6d6d
}
textarea {
overflow: auto
}
table {
border-collapse: collapse;
border-spacing: 0
}
td {
vertical-align: top
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment