<p>TIL `hyphens: auto` does not add hyphens for capitalized words (in English at least).</p><p>extraordinarily (wraps with hyphen)<br />Extraordinarily (no wrap no hyphen)</p><p>Adding `word-break: break-word` breaks the capitalized word, but still no hyphen ๐คจ</p><p>Demo (applies to Firefox and Chrome, working in Safari): <a href="https://codepen.io/zachleat/pen/myeYbJV" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">codepen.io/zachleat/pen/myeYbJV</span><span class="invisible"></span></a></p>
- Post #637
- Next September 11, 2025 at 6:38:30 PM UTC
- Previous September 10, 2025 at 2:59:09 PM UTC
- Wed, 10 Sep 2025 17:31:27 GMTโโโZach Leatherman
- Original on Fediverse