Last active
April 22, 2020 01:28
-
-
Save CITguy/9eec7276476fad2e967e2f1042349581 to your computer and use it in GitHub Desktop.
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
/* | |
Reset the box-sizing | |
https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ | |
*/ | |
html { | |
box-sizing: border-box; | |
} | |
*, | |
*::before, | |
*::after { | |
box-sizing: inherit; | |
} | |
/* | |
HTML5 display reset for older browsers | |
- Unnecessary if targeting evergreen (non-IE) browsers. | |
- Any major browser released since 2015 supports these elements. | |
*/ | |
article, | |
aside, | |
details, | |
figcaption, | |
figure, | |
footer, | |
header, | |
hgroup, | |
main, | |
menu, | |
nav, | |
section { | |
display: block; | |
} | |
template { | |
display: none; | |
} | |
/* | |
html5 attribute reset for older browsers | |
- IE11 and evergreen browsers support this attribute | |
*/ | |
[hidden] { | |
display: none !important; | |
} | |
small { | |
font-size: 0.75em; | |
} | |
caption { | |
padding: 0; | |
text-align: left; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment