Adam Wuerl
0
Q:

css word break

.example {
  overflow-wrap: break-word;
}
0
<span style="white-space: nowrap">no-breaks-here</span>
0
Css Syntax:
word-break: normal|break-all|keep-all|break-word|initial|inherit;

Property Values:
Value							Description
normal				--			Default value. Uses default line break rules
break-all			--			To prevent overflow, word may be broken at any character
keep-all 			--			Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as value "normal"
break-word			--			To prevent overflow, word may be broken at arbitrary points
initial				--			Sets this property to its default value. Read about initial
inherit				--			Inherits this property from its parent element. Read about inherit
9
/* Schlüsselwortwerte */
word-break: normal; 
word-break: break-all; 
word-break: keep-all;

/* Globale Werte */
word-break: inherit;
word-break: initial;
word-break: unset;
0

New to Communities?

Join the community