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

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1793907121898.jpg (63.58 KB, 1000x1000, img_1793907114296_vdth8tiy.jpg)ImgOps Exif Google Yandex

666bd No.2435

I was just looking at this tidy-typography thing and that text-box-trim stuff is actually insane for fixing vertical rhythm.
>text-box: trim-both cap alphabetic;
It basically kills the half-leading mess, which is nice a total lifesaver if you're tired of fighting with margins. I'm still a bit skeptical about using cqi for fluid type in sidebars though, because it feels like asking for trouble once browser support gets even weirder.
:root {  --step-0: clamp(1rem, 0.9rem + 1cqi, 1.125rem);}


more here: https://css-tricks.com/taming-typography-modern-css-reset/


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