Skip to content

Instantly share code, notes, and snippets.

@royeradames
Last active March 25, 2021 00:46
Show Gist options
  • Save royeradames/7acc9fa216c2bf138dc029d9f77d4aba to your computer and use it in GitHub Desktop.
Save royeradames/7acc9fa216c2bf138dc029d9f77d4aba to your computer and use it in GitHub Desktop.
normalize_border-box-fix_rem-unit-setup
@import-normalize; /* bring in normalize.css styles */
html {
font-size: 10px;
box-sizing: border-box;
}
*, *:before, *:after {
font-size: inherit;
box-sizing: inherit;
}
/* prevent images from overflowing */
img{
max-width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment