Ask HN: (Solved!) Using CSS to make HN comments only 8 to 10 words wide?
https://news.ycombinator.com/item?id=33933178I was idly wondering if anyone had applied a custom style to Hacker News that forced comments to be 8 to 10 words wide?
Something like this:
Comment by Blah:
The best is to use a template literal.
Reply by Foo:
I disagree, you should use str.replace and ignore
template literals.
Reply by Blah:
Respectfully, you are an idiot. Ignoring template literals
for a horrible regex has no place in JavaScript.
Reply by wattle:
I agree, and here's a tangent that doesn't have
much to do with the topic.
The optimum width of a paragraph is 50 to 80 characters with some disagreement on the max width. Which is about 8 to 10 words, or 30 to 50 em according to this question on stackoverflow: https://ux.stackexchange.com/questions/108801/what-is-the-best-number-of-paragraph-width-for-readabilityIs it possible to style HN like that?