Utilities for controlling an element
Use the whitespace-normal utility to cause text to wrap normally within an element. Newlines and spaces will be collapsed:
Use the whitespace-nowrap utility to prevent text from wrapping within an element. Newlines and spaces will be collapsed:
Use the whitespace-pre utility to preserve newlines and spaces within an element. Text will not be wrapped:
Use the whitespace-pre-line utility to preserve newlines but not spaces within an element. Text will be wrapped normally:
Use the whitespace-pre-wrap utility to preserve newlines and spaces within an element. Text will be wrapped normally:
Use the whitespace-break-spaces utility to preserve newlines and spaces within an element. White space at the end of lines will not hang, but will wrap to the next line: