4 ms·
I see this dates back a decade, which makes sense given this is now achievable in modern CSS without a preprocessor.
by drawfloat 2y ago
I see this dates back a decade, which makes sense given this is now achievable in modern CSS without a preprocessor.
- nicbou 2y agoNot quite. Hyphenation is rather unreliable in my experience.
- dietr1ch 2y agoYeah, last time I experimented with it `hyphens: auto;` and `word-break: auto-phrase;` were simply not ready to try even in beta/nightly browsers. - https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens - https://developer.mozilla.org/en-US/docs/Web/CSS/word-break https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
- nicbou 2y agoIn my case, it really struggled with over-hyphenation when a line break would be completely fine.
- 8bitsrule 2y agoAchievable, I suppose. But 10yo CSS is a big-enough PITA that, if the machine can learn to do it, it should.
- red_trumpet 2y agoSupport for ``hanging-punctuation`` is not there yet.