Skip to content

Instantly share code, notes, and snippets.

@x35a
Last active September 29, 2020 17:01
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 x35a/414885bba237f5227be9ee34ddf49337 to your computer and use it in GitHub Desktop.
Save x35a/414885bba237f5227be9ee34ddf49337 to your computer and use it in GitHub Desktop.
some global styles, npm i gist:414885bba237f5227be9ee34ddf49337
/* 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;
}
{
"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