Responsive Typography
Scaling Across Devices
Learn TechniquesResponsive typography ensures text remains readable y aesthetically pleasing across todo device sizes. Using el/la right unidades y techniques creates fluid type eso scales naturally.
Common Type Scales
| Element | Mobile | Desktop | Ratio |
|---|---|---|---|
| Body text | 16px | 18px | 1.0 |
| H3 | 18px | 22px | 1.2 |
| H2 | 22px | 28px | 1.5 |
| H1 | 28px | 40px | 2.0-2.2 |
CSS ejemplo: font-size: clamp(1rem, 2.5vw, 2rem);
Conclusion
Responsive typography combines relative unidades, viewport-based sizing, y CSS clamp() for smooth scaling. Comenzar with un/una readable base size (16-18px), establish un/una consistent scale ratio, y test across devices. Good responsive type enhances readability y user experience on cada screen.