QuickSnip LogoA light blue logo with a thunderbolt in bracketsQuickSnip

Responsive Font Sizing

Adjusts font size based on viewport width.

  • font
  • responsive
  • typography

Code

h1 {
  font-size: calc(1.5rem + 2vw);
}