if youre working on a responsive design and want to improve text legibility at smaller screen sizes while keeping things visually appealing, try using
vw units in conjunction with media queries.
for example:
[code]h1 { font-size: 6vh; }p {
@media (max-width :700px) {font-size:4.5vmin;}
}[/code]
this approach ensures headings are large enough to be noticed, while body text remains comfortable for reading on smaller screens without looking oversized or cramped in larger ones.
> also check out font-display option if you're using custom fonts - it helps with fallbacks and loading times__note: test across devices as vw/vmin can behave differently based on browser support