Skip to content

Instantly share code, notes, and snippets.

@jonasjohansson
Created October 19, 2018 15:46
Show Gist options
  • Save jonasjohansson/00161c19fdc856a77567c143021eca02 to your computer and use it in GitHub Desktop.
Save jonasjohansson/00161c19fdc856a77567c143021eca02 to your computer and use it in GitHub Desktop.
* {
padding: 0;
margin: 0;
border: 0;
background: none;
}
html {
font-size: 62.5%;
font-family: system-ui, -apple-system, sans-serif;
-webkit-text-size-adjust: 100%; /* https://stackoverflow.com/questions/3226001/some-font-sizes-rendered-larger-on-safari-iphone */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-kerning: normal;
font-feature-settings: 'kern';
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
input {
font-family: inherit;
}
ul {
list-style: none;
white-space: nowrap;
}
input:focus {
outline-offset: 0;
}
input::-webkit-color-swatch-wrapper {
padding: 0;
}
input::-webkit-color-swatch {
border: none;
}
iframe,
img {
width: 100%;
}
video {
width: 100%;
height: 100%;
object-fit: cover;
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
::-webkit-scrollbar {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment