5 - Fluid Typography

medium
css
typography

Design a heading with a fuild font size.

Requirements

  • When the viewport width is less than the given --minVw, set the font size to 16px.
  • If the viewport width exceeds the given --maxVw, set the font size to 32px.
  • For viewport widths between--minVw and --maxVw, linearly scale the font size.

⚙️

Booting up the editor...

Please wait while we load the editor.

⚙️

Loading Preview...