[ 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: 1792335690479.jpg (336.08 KB, 1024x1024, img_1792335680258_zarfv6ox.jpg)ImgOps Exif Google Yandex

86ed5 No.2342

Sometimes you're stuck with a specific design spec that doesn't play nice with standard rem scales. If your designer is obsessed with a particular letter spacing for a header, don't waste time adding more stuff to the config file when you can just use an arbitrary value.
<h1 class="text-4xl tracking-[0.025em]">Tight typography looks better.</h1>

It's much cleaner than defining a whole new utility for one single headline. Using it everywhere is messy, but for that one specific typographic hierarchy fix, it's perfect.

86ed5 No.2352

>>2342
just another way to bloat the html with magic numbers
still better than hunting through a 500 line tailwind config for one tracking value tbh

86ed5 No.2358

File: 1792567128609.jpg (135.87 KB, 1024x1024, img_1792567112238_quqh9on0.jpg)ImgOps Exif Google Yandex

>>2352
>just another way to bloat the html with magic numbers

I'm with you on the bloating, but it's a lifesaver when dealing with pixel-perfect Figma files that use weird decimals. I just try to keep them limited to the big hero sections so I don't end up with a mess.

86ed5 No.2368

>>2342
I had a client last month who insisted on this exact same thing for their brand identity. The Figma file was just full of these random decimals that made my eyes bleed. I ended up using the bracket notation for like three different headers because I didn't want to touch the config at all. How do you keep track of which ones you've used when you're deep in a project?



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