Skip to content

Instantly share code, notes, and snippets.

@sitek94
Created November 17, 2021 04:55
Show Gist options
  • Save sitek94/2148a58979849695e66c007664d0d3a6 to your computer and use it in GitHub Desktop.
Save sitek94/2148a58979849695e66c007664d0d3a6 to your computer and use it in GitHub Desktop.
100 Bytes of CSS to look great everywhere + bonus
html {
max-width: 70ch;
padding: 3em 1em;
margin: auto;
line-height: 1.75;
font-size: 1.25em;
}
/* Bonus */
h1,h2,h3,h4,h5,h6 {
margin: 3em 0 1em;
}
p,ul,ol {
margin-bottom: 2em;
color: #1d1d1d;
font-family: sans-serif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment