by aleem · 7y ago · 0 comments
It's probably not needed today but when I first used it the logic was along the lines of adding it at the 5th 7th 9th characters provided there were at least 4 more characters after each ­ or some such while being wary of hanging the last word etc.
It's a soft hyphen meaning the browser will break if needed otherwise ignore it. It's an HTML feature rather than a CSS one which also has implications.
MDN has a good page to see it in action, as well as comparison with <wbr>
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wb...