Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does one even do that? Browsers try quite hard to not break words and make text readable by default.


The author put "word-break:break-all" on a parent element of the text content, which itself is a <ul> containing <p>, probably for "layout" purposes. Methinks some CSS education is desperately needed.


The blog author explicitly requested it, with `word-break: break-all`.

Now why you would do that … IDK.

Weirdly, it's the second post on HN this quarter to do it, from a completely different site. Makes me wonder if there's some viral piece of CSS advice out there …? (And nobody looks at their site…?) Bad LLM output?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: