Safeguarded hyphenation
Link
Message thread
Matthias Zöchling wrote on
Having read “Justified Text: Better Than Expected” by @tylersticka.com et al., I learned about hyphenate-limit-chars, and in a nanosecond it jumped to the top of my list of CSS properties that I’d like to see getting full support across browsers.
(Sure, it can be progressively enhanced, but still.)
Adam Kuhn wrote on
In reply to: @cssence.com.
found this right at the right time, I actually need this property for a project right now 🙂
Geoff Graham wrote on
In reply to: @cssence.com.
That ::first-letter treatment is top shelf work, too!
Matthias Zöchling wrote on
In reply to: @geoffgraham.me.
Agreed.
I just looked at CanIUse, this is sadly still display: float territory.
Christopher Taylor-Davies wrote on
In reply to: @CSSence@mas.to.
Very interesting. When reading ebooks on my phone I always disable hyphenation and force left justified. Given the glacial pace things happen in this space I don’t expect this to be supported in readers or encoded in books any time soon. But we can hope.
Tyler Sticka wrote on
In reply to: @cssence.com.
Thanks, Matthias!
Hyphenation does present some readability challenges, but I’m happy for options when it comes to more artistic/expressive experiences.
See also: “Them’s the Breaks”
Matthias Zöchling wrote on
In reply to: @tylersticka.com.
Fully agree.
Nevertheless, CSS is awesome.
Get involved
Have your say on Mastodon, or simply share this thread.