monks/resize
The resize CSS property sets whether an element is resizable, and if so, in which directions.
Values
pub const block: #(String, String)
- : The element displays a mechanism for allowing the user to resize it in the block direction (either horizontally or vertically, depending on the {{cssxref(“writing-mode”)}} and {{cssxref(“direction”)}} value).
pub const both: #(String, String)
- : The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
pub const horizontal: #(String, String)
- : The element displays a mechanism for allowing the user to resize it in the horizontal direction.
pub const inline: #(String, String)
- : The element displays a mechanism for allowing the user to resize it in the inline direction (either horizontally or vertically, depending on the {{cssxref(“writing-mode”)}} and {{cssxref(“direction”)}} value).
pub const none: #(String, String)
- : The element offers no user-controllable method for resizing it.
pub const revert_layer: #(String, String)
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for resize.
It will be wrapped in var() and have -- prepended.