monks/text_wrap_mode
The text-wrap-mode CSS property controls whether the text inside an element is wrapped. The different values provide alternate ways of wrapping the content of a block element. It can also be set, and reset, using the {{CSSXRef(“text-wrap”)}} shorthand or the {{CSSXRef(“white-space”)}} shorthand.
The {{CSSxRef(“white-space-collapse”)}} and
text-wrap-modeproperties can be declared together using the {{CSSxRef(“white-space”)}} shorthand property.
The name of this property is a placeholder, pending the CSSWG finding a better name.
Values
pub const nowrap: #(String, String)
- : Text does not wrap across lines. It will overflow its containing element rather than breaking onto a new line.
pub const revert_layer: #(String, String)
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for text-wrap-mode.
It will be wrapped in var() and have -- prepended.