Fixing fluid typography

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI10 min

About this video

Walks through the limits of viewport units and container query units for fluid type, then uses @property to create type that scales smoothly and can reset to a base value. Suited to people who already write CSS for interfaces.

What you’ll learn

  • Explain why viewport units alone make fluid type hard to control
  • Use container query units to scale type relative to its container
  • Animate a custom property with @property to make fluid type behave predictably