« * K @markodenic.com

Marko Denic @markodenic.com

2026-11-24 17:14 UTC

CSS tip: cut long titles after 2 lines with a clean "…". .card-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } Works in every modern browser, Firefox included, despite the -webkit- prefix.

2 likes, 0 reposts, 0 replies

3 Next post4 More from @markodenic.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup