Toot

Written by gerotakke on 2024-12-12 at 10:07

CSS question: How do y'all do hyphenation these days? Probably mostly relevant to the German folks ;-)

With hyphens:auto, words still break at terrible points in my browsers and I can't find any ways to make it more restrained.

I think my solution would be to use overflow-wrap:break-word in CSS and then rewrite with JS to remove that and wrap long words with more than X characters in hyphens:auto spans. That has a very 2010 feel to it though and I wonder if there is a better CSS-only solution.

=> More informations about this toot | View the thread | More toots from gerotakke@social.bitwig.community

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113639298058005379
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
225.398946 milliseconds
Gemini-to-HTML Time
0.671119 milliseconds

This content has been proxied by September (3851b).