Mastodon Feed: Post

Mastodon Feed

andreu@andreubotella.com ("Andreu Botella :verified_enby:") wrote:

Brian's blog post goes in more depth on line-clamp, but it gets rid of the 3-property cruft you need before -webkit-line-clamp will do anything, and it also adds a line-clamp: auto syntax to be able to clamp to whatever content fits a given height.

It even lets you animate that height!

Attachments: