Last active
September 29, 2020 17:01
-
-
Save x35a/414885bba237f5227be9ee34ddf49337 to your computer and use it in GitHub Desktop.
some global styles, npm i gist:414885bba237f5227be9ee34ddf49337
This file contains hidden or 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 styles for some elements */ | |
.inputrst { | |
display: inline-block; | |
position: relative; | |
margin: 0; | |
padding: 0; | |
border: none; | |
background-color: transparent; | |
font: inherit; | |
} | |
.btnrst { | |
display: inline-block; | |
position: relative; | |
margin: 0; | |
padding: 0; | |
border: none; | |
text-align: center; | |
cursor: pointer; | |
text-decoration: none; | |
background-color: transparent; | |
color: inherit; | |
font: inherit; | |
} | |
.listrst { | |
list-style: none; | |
padding: 0; | |
margin: 0; | |
} | |
.linkrst { | |
color: inherit; | |
text-decoration: none; | |
} | |
.hrst { | |
margin-top: 0; | |
margin-bottom: 0; | |
font-size: inherit; | |
font-weight: normal; | |
} | |
/* clearfix src https://getbootstrap.com/docs/4.5/utilities/clearfix/ */ | |
.cf::after { | |
display: block; | |
content: ""; | |
clear: both; | |
} |
This file contains hidden or 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
{ | |
"version": "1.0.0", | |
"name": "glob.css", | |
"main": "glob.css" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment