I’ve been excited for so long that I implemented a workaround for the missing `text-box-trim` at work - almost 5 years ago now 😎
And Figma already has it.
I couldn’t imagine designing/implementing designs without it 🙌
And Figma already has it.
I couldn’t imagine designing/implementing designs without it 🙌
Reposted from
Piccalilli
It’s the last full article of 2024 and we’re going out with a bang as Jason Bradberry shows us what’s possible in the real world with the new CSS text-box-trim capabilities from a designer’s perspective.
Comments
Essentially combining these two blogs posts:
https://iamvdo.me/en/blog/css-font-metrics-line-height-and-vertical-align
https://medium.com/eightshapes-llc/cropping-away-negative-impacts-of-line-height-84d744e016ce