Created
July 1, 2021 13:02
-
-
Save thomasleduc/1acd7e4589b83d44a905a8457897f1d7 to your computer and use it in GitHub Desktop.
A scss reset basic but complete file
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
html, body { | |
box-sizing: border-box; | |
} | |
*, *:before, *:after{ | |
box-sizing: inherit; | |
} | |
html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video{ | |
margin: 0; | |
padding: 0; | |
border: 0; | |
font-size: 100%; | |
font: inherit; | |
vertical-align: baseline; | |
text-rendering: optimizeLegibility; | |
-webkit-font-smoothing: antialiased; | |
text-size-adjust: none; | |
} | |
footer, header, nav, section, main{ | |
display: block; | |
} | |
body{ | |
line-height: 1; | |
} | |
ol, ul{ | |
list-style: none; | |
} | |
blockquote, q{ | |
quotes: none; | |
} | |
blockquote:before, blockquote:after, q:before, q:after{ | |
content: ''; | |
content: none; | |
} | |
table{ | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
input{ | |
-webkit-appearance: none; | |
border-radius: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment