word-break
is a
word-break
There are times when words or letters are broken when they reach the end of a line.
You can use word-break
to specify what happens when a word reaches the end of a line.
word-break
The possible values the word-break
property takes are:
normal
break-all
keep-all
break-word
word-break: value
The value in the code snippet above can be any of the aforementioned values.
word-break: normal
propertyThe word-break: normal
property sets the text to break based on the default settings. See the example below.
word-break: break-all
propertyThe word-break: break-all
property specifies that words should break at any character. See the example below.
word-break: keep-all
propertyThe word-break: keep-all
property is the same as the normal
value, except that word-break
shouldn’t be used for
See the example below.
word-break: break-word
propertyThe word-break: break-word
property causes words to break in order to prevent overflow.