HTML & CSS · Senior · Question 45 of 75

Which approach to fluid typography best respects the user's font scaling?

Explanation

Pure vw ignores the user's font size setting and barely changes on zoom - a WCAG problem (resize text up to 200%). Mixing rem + vw inside clamp() gives smooth scaling while still responding to user settings. Pixel steps work but jump between breakpoints.

Further reading

Problem with a question

HTML & CSS · Senior · question 45

Test yourself

Take the HTML & CSS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz