blob: 903087eb7b819a0de28fd22efc061d1c800dd275 [file] [log] [blame]
<!DOCTYPE html>
| The value "pre" of property "white-space" does not allow wrapping. Content
| that does not fit the block container overflows it.
| The value "normal" of property "white-space" allows wrapping at soft-wrap
| opportunities, as determined by the line-breaking rules in effect.
body {
width: 150px;
font-size: 15px;
color: #999;
p {
white-space: nowrap;
span {
white-space: normal;
color: #f44336;
<p>This is some text. <span>This is some text. </span>This is some text.</p>