Courses / CSS
27. Flexible Typography
Using relative units like ems or rems to create text that scales appropriately across devices.
1 min read Chapter 27 of 32
HTML
Flexible Typography
Flexible typography means using relative units to ensure text scales well on different devices.
"I want my text to look great on both my phone and my laptop."
Flexible typography uses relative units like `em` and `rem` instead of fixed units like pixels, allowing text to resize based on user settings or device dimensions.
"I want my text to look great on both my phone and my laptop."
Flexible typography uses relative units like `em` and `rem` instead of fixed units like pixels, allowing text to resize based on user settings or device dimensions.