Auto-Sizing Responsive Fonts

PHOTO EMBED

Wed Aug 18 2021 14:56:44 GMT+0000 (UTC)

Saved by @Blocker226 #css

html {
  font-size: calc(60% + 0.8vmin);
}

* {
  font-size: 1rem;
}

h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.3rem;
}
content_copyCOPY

https://sjorswijsman.medium.com/3-easy-css-tricks-for-responsive-websites-i-use-in-every-project-68ec334a1522