Skip to content

Instantly share code, notes, and snippets.

View atikahjapry's full-sized avatar
😄
Hi!

Atikah Japry atikahjapry

😄
Hi!
View GitHub Profile
@atikahjapry
atikahjapry / fork from other-bytes-of-css.md
Last active September 26, 2022 15:31 — forked from JoeyBurzynski/55-bytes-of-css.md
fork from other bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}