Skip to content

Instantly share code, notes, and snippets.

@madeas
Last active October 25, 2018 13:09
Show Gist options
  • Save madeas/08ec838af3b36bc45afed02262ad10b3 to your computer and use it in GitHub Desktop.
Save madeas/08ec838af3b36bc45afed02262ad10b3 to your computer and use it in GitHub Desktop.
initial markup
*,
::after,
::before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
height: 100%;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-size: 62.5%;
overflow-x: hidden;
word-break: break-all;
-webkit-hyphens: auto;
hyphens: auto;
-ms-hyphens: auto;
& p,
& div {
font-size: 1rem;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment