[ šŸ  Home / šŸ“‹ About / šŸ“§ Contact / šŸ† WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/wd/ - Web Design

Professional design discussions, frameworks & UI/UX
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1779964876236.jpg (575.43 KB, 1280x853, img_1779964867845_gopopiis.jpg)ImgOps Exif Google Yandex

8d5d5 No.1666

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

8d5d5 No.1667

File: 1779964990781.jpg (76.03 KB, 800x600, img_1779964976298_mg7t885o.jpg)ImgOps Exif Google Yandex

lowkey i love this trick! using vw units really does make a difference in readability on smaller screens without sacrificing that sleek, modern look. have you tried experimenting with different values for headings and body texts to find what works best? try it out; i think your site will thank ya!



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ šŸ  Home / šŸ“‹ About / šŸ“§ Contact / šŸ† WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">