-
-
Save felquis/1278d5f62dcc5f606bbb to your computer and use it in GitHub Desktop.
Minimal CSS Reset, resets margins, paddings and line-heights of every element needed, please adjust the selector below if you need paddings in lists
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
/** | |
Minimal CSS Reset | |
reset margins, paddings and line-heights of every element needed | |
if you need paddings into li, dl, dd elements, just remove them | |
from the selector below | |
Felquis Gimenes | |
MIT Licence | |
https://gist.github.com/felquis/1278d5f62dcc5f606bbb | |
*/ | |
html { box-sizing: border-box; } | |
body { font-size: 16px; } | |
*, *:before, *:after { box-sizing: inherit; } | |
ol, ul { padding: 0; list-style-type: none } | |
body, h1, h2, h3, h4, h5, h6, p, ol, li, ul, dl, dd, blockquote, figure, | |
hr, pre { | |
margin: 0; | |
line-height: 1em | |
} | |
hr { | |
border-style: none; | |
background: #19cade; | |
height: 0.125em; | |
} |
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
/* Minimal CSS Reset - https://gist.github.com/felquis/1278d5f62dcc5f606bbb */html{box-sizing:border-box}body{font-size:16px}*,:before,:after{box-sizing:inherit}ol,ul{padding:0;list-style-type:none}body,h1,h2,h3,h4,h5,h6,p,ol,li,ul,dl,dd,blockquote,figure,hr,pre{margin:0;line-height:1em}hr{border-style:none;background:#19cade;height:.125em} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment