Fluid Typography

PHOTO EMBED

Wed Apr 29 2020 10:52:30 GMT+0000 (Coordinated Universal Time)

Saved by @Angeltwins #css

                                html {
  font-size: 16px;
}
@media screen and (min-width: 320px) {
  html {
    font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  }
}
@media screen and (min-width: 1000px) {
  html {
    font-size: 22px;
  }
}
                                
content_copyCOPY

Fluid typography is the idea that font-size (and perhaps other attributes of type, like line-height ) change depending on the screen size (or perhaps container queries if we had them).

https://css-tricks.com/snippets/css/fluid-typography/