I want the ability to specify line-spacing
instead of line-height
#59
Replies: 4 comments
-
At first sight, this sounds really useful, and I can appreciate the frustration here, having been there. But I'm wondering if a |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm the one that filled in this request It turns out that a CSS feature handling just this is being worked on: https://medium.com/microsoft-design/leading-trim-the-future-of-digital-typesetting-d082d84b202 It's not a line-spacing, that still gets covered by line-height, but it covers the same use cases |
Beta Was this translation helpful? Give feedback.
-
I just sent a link to this issue to fantasai, who works on this proposal: https://twitter.com/patrickbrosset/status/1296349099688636420 |
Beta Was this translation helpful? Give feedback.
-
I’m going to add this one to the site even though a fix is inbound because it may help others find the solution. |
Beta Was this translation helpful? Give feedback.
-
Currently if you want to add spacing between two lines, you need to use
line-height.
This property has the annoying effect of always adding an amount of spacing above and below the block of text.I’d suggest something like
line-spacing
that would, instead, specify how much spacing should be added between lines only. No padding would be added at the bottom and top of the block of text.See: https://webwewant.fyi/wants/5f033971446abbbbcfbdab4a/
Beta Was this translation helpful? Give feedback.
All reactions