WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 42296745

(no title)

tdjsnelling | 1 year ago

I had a crack at a solution to this problem recently. It's pretty basic in terms of what it can do and not the most performant.

Code: https://github.com/tdjsnelling/microtype Demo: https://tdjsnelling.github.io/microtype/test/from-cdn/

Even better, there is the new CSS `hyphens: auto;`. Browser & language support is not yet 100% though.

https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com