| <!DOCTYPE html> |
| <!-- |
| | The value "pre-line" of property "white-space" collapses white space and |
| | lines break at segment breaks such as line feeds and carriage returns. |
| | https://www.w3.org/TR/css3-text/#white-space-property |
| --> |
| <html> |
| <head> |
| <style> |
| body { |
| margin: 0px; |
| font-family: Roboto; |
| font-size: 20px; |
| } |
| .containing-block { |
| background-color: #03a9f4; |
| width: 200px; |
| white-space: pre-line; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="containing-block"> |
| <span>abc defg |
| |
| |
| hij klm nop |
| |
| |
| |
| qrs tuvw xyz</span> |
| </div> |
| </body> |
| </html> |