monks/contain_intrinsic_width

The contain-intrinsic-width CSS property sets the width of an element that a browser will use for layout when the element is subject to size containment.

Values

pub const auto_: #(String, String)

auto value of contain-intrinsic-width

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of contain-intrinsic-width

pub const none: #(String, String)
  • : The element has no intrinsic width.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for contain-intrinsic-width

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 contain-intrinsic-width. It will be wrapped in var() and have -- prepended.

Search Document