Typography

White Space

Style syntax for controlling how whitespace and line breaks within an element are handled.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
white-space:valuewhite-space: value
break-spaceswhite-space: break-spaces
white-space:normalwhite-space: normal
white-space:nowrapwhite-space: nowrap
white-space:prewhite-space: pre
white-space:pre-linewhite-space: pre-line
white-space:pre-wrapwhite-space: pre-wrap

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="white-space:break-spaces:hover white-space:break-spaces@sm white-space:break-spaces@dark white-space:break-spaces@print"></div>
PREVIOUS
Vertical Align

Style syntax for setting vertical alignment.

NEXT
Word Break

Style syntax for setting whether words should break.

MIT License © Aoyue Design LLC.