Minimal CSS Reset

A minimal alternative to popular CSS resets
CSS
/*--- RESET/NORMALIZE ---*/
body, h1, h2, h3, h4, h5, h6, figure, dl, dd, pre, blockquote, input[type="radio"], input[type="checkbox"] {margin:0}
legend {padding:0}
fieldset, ul, ol {padding:0;margin:0}
ul, ol {list-style:none}
body {line-height:1}
main, figure, figcaption, img {display:block} /*--- <main> for IE 11 ---*/
a {text-decoration:none}
img {max-width:100%;height:auto}
fieldset {border:0}
input, textarea, select, button {display:block;max-width:100%;font-family:inherit;font-size:inherit;color:inherit}
label {display:table}
input[type="text"], input[type="email"], input[type="password"], input[type="search"] {-webkit-appearance:none} /*--- for Safari (add/remove types as needed) ---*/
button {line-height:inherit}
button::-moz-focus-inner {border:0} /*--- for Firefox ---*/
html {-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}

/*--- optional custom focus ring color ---*/
/*:focus {outline-color:#4b83d0}*/
More Tips