[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/resp/ - Responsive Design

Mobile-first approaches & cross-device solutions
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1791121360004.jpg (101.11 KB, 1024x1024, img_1791121351681_sj8zrmj2.jpg)ImgOps Exif Google Yandex

af62b No.2175

tried setting up a clamp with some min and max values but it's getting way too huge once you cross 2560px. it looks fine on my laptop and even a standard desktop, but the text is basically unreadable on this client's setup. i thought using a viewport width unit would scale it down properly but it just keeps growing with the screen size.

font-size: clamp(1rem, 5vw, 3rem);


anyone found a way to cap the growth without breaking the fluid feel on smaller screens?


[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 ]