♿Text Resize
Also known as Text Resizing, Zoom Support
People can make the text big, and the page still works.
Think of it like
It is like a book that grows its letters when you squint. The page still fits.
Example
Leo sets his phone to large text. A well-built app grows its words, and no button is cut off.
Why it matters
Many people need larger text, and their numbers grow as people age.
Definition
Example code
css
body { font-size: 1rem; }
h1 { font-size: 2rem; }Common mistake
Key takeaways
- 1Up to 200%. Nothing cut off.
- 2No sideways scroll. It reflows.
- 3Use rem. It follows the reader.