Using viewport units for font sizes might seem like a good idea for responsive text, but it can lead to significant issues such as excessively small or large text and failures in accessibility criteria. Instead, using the CSS clamp function offers a more effective solution, allowing text to grow and shrink appropriately within defined limits. Tools like utopia.fyi can help set appropriate font sizes and scales for flexible, responsive typography.
•9m watch time
1 Comment
Sort: