Skip to content

Instantly share code, notes, and snippets.

@thesabbir
Last active May 20, 2021 11:45
Show Gist options
  • Save thesabbir/8635d44b988fb5e1df2ff226c36e3012 to your computer and use it in GitHub Desktop.
Save thesabbir/8635d44b988fb5e1df2ff226c36e3012 to your computer and use it in GitHub Desktop.
My | minimalist css reset :)
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
padding: 5px;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
border: 0 none;
outline: 0;
vertical-align: baseline;
font-weight: inherit;
font-family: inherit;
font-style: inherit;
font-size: 100%;
color: inherit;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, ul, ol, dl {
margin: 10px 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
img {
vertical-align: bottom;
}
button,
input,
optgroup,
select,
textarea {
appearance: none;
vertical-align: middle;
background: transparent;
text-align: inherit;
}
[type="checkbox"], [type="radio"] {
appearance: checkbox;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
cursor: pointer;
appearance: none;
}
button[disabled],
[type="button"][disabled],
[type="reset"][disabled],
[type="submit"][disabled] {
cursor: default;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment