Andrew's Digital Garden

leading-trim in CSS

It's part of the CSS Inline Layout Module Level 3, and allows you to control the half-leading for better better visual alignment of text.

This is the native solution to what Capsize aims to achieve. #todo

leading-trim.png

https://github.com/w3c/csswg-drafts/issues/3240 https://medium.com/microsoft-design/leading-trim-the-future-of-digital-typesetting-d082d84b202

[[css]] [[typography]]

`leading-trim` in CSS