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 inherit: #(String, String)
pub const initial: #(String, String)
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 fn raw(value: String) -> #(String, String)

Enter a raw string value for resize

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(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.

pub const vertical: #(String, String)
  • : The element displays a mechanism for allowing the user to resize it in the vertical direction.
Search Document