Nearby lessons
48 of 61⬜ Tailwind CSS - Whitespace
📖 Overview
Whitespace utilities control how whitespace (spaces, tabs, newlines) is handled in text.
These map to the CSS white-space property.
📏 Whitespace Utilities
Available utilities:
whitespace-normal- Normal whitespace handling (default)whitespace-nowrap- Prevent text from wrappingwhitespace-pre- Preserve whitespace and newlineswhitespace-pre-line- Preserve newlines onlywhitespace-pre-wrap- Preserve whitespace, allow wrappingwhitespace-break-spaces- Preserve spaces, allow wrapping
🧠 Test Your Knowledge
2 QuestionsProgress: 0 / 2
Keep Going!Tailwind CSS - Word Break