Skip to content

Instantly share code, notes, and snippets.

@Jonarod
Last active February 9, 2019 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jonarod/ab4e61a97aadd79db994c8dea3492a69 to your computer and use it in GitHub Desktop.
Save Jonarod/ab4e61a97aadd79db994c8dea3492a69 to your computer and use it in GitHub Desktop.
CSS minimal reset
*, *::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;}
@Jonarod
Copy link
Author

Jonarod commented Feb 7, 2019

CDN:

https://gistcdn.githack.com/Jonarod/ab4e61a97aadd79db994c8dea3492a69/raw/49bac14b46470fd7933007fcdbedf219f173d087/reset.css

@import url("https://gistcdn.githack.com/Jonarod/ab4e61a97aadd79db994c8dea3492a69/raw/49bac14b46470fd7933007fcdbedf219f173d087/reset.css");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment