Whitespace

Usage

Please refer to the documentation on the Tailwind CSS website

Compatibility

ClassSupport
whitespace-normal
๐ŸŒ Web only
whitespace-nowrap
๐ŸŒ Web only
whitespace-pre
๐ŸŒ Web only
whitespace-pre-line
๐ŸŒ Web only
whitespace-pre-wrap
๐ŸŒ Web only
whitespace-break-spaces
๐ŸŒ Web only
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

โœ… Full support

โœ”๏ธ Partial support on native

๐Ÿงช Experimental support on native

๐Ÿ“ฑ Native only

๐ŸŒ Web only

On this page