Last active
February 9, 2019 20:16
-
-
Save Jonarod/ab4e61a97aadd79db994c8dea3492a69 to your computer and use it in GitHub Desktop.
CSS minimal reset
This file contains 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
*, *::before, *::after {margin:0;padding:0;border:0;border-collapse:collapse;border-spacing:0;box-sizing:border-box;outline:none;font-size:100%;font:inherit;vertical-align:baseline;list-style:none;quotes:none;} | |
html {font-family: "Quicksand", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;font-weight: 300;font-size: 16px;line-height:1.5;overflow-x:hidden;} | |
body {font-size : 1em; -webkit-font-smoothing: antialiased; overflow-x: hidden;} | |
img {max-width: 100%;} | |
fieldset, img {border:0;} | |
legend {color:#000;} | |
li {list-style:none;} | |
sup {vertical-align:text-top;} | |
sub {vertical-align:text-bottom;font-size:80%;} | |
table {border-collapse:collapse;border-spacing:0;} | |
caption, th, td {text-align:left;vertical-align:top;font-weight:normal;} | |
input, textarea, select {font-size: 110%;line-height:1.1;} | |
abbr, acronym {border-bottom:.1em dotted;cursor:help;} | |
footer, header, hgroup, menu, nav, section, small {display:block;} | |
blockquote:before, blockquote:after, q:before, q:after {content:'';content:none;} | |
a {text-decoration: none;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CDN:
https://gistcdn.githack.com/Jonarod/ab4e61a97aadd79db994c8dea3492a69/raw/49bac14b46470fd7933007fcdbedf219f173d087/reset.css