CSS word-break property
CSS word-break property represents soft wrap opportunities between letters or words when inline content flows to the next line.
word-break : normal | keep-all | break-all
normal value allows the inline content to break at spaces between words.
break-all adds soft wrap opportunities between letters in addition to the words i.e. it breaks the words to flow to the next line.
Breaking is not allowed within words. It allows soft wrap opportunities between typographic character units such as numbers, alphabets.
It applies to inline boxes e.g. the text content within block-level element..
Was this article helpful?