monks/inline_size

The inline-size CSS property defines the size of an element’s block along the inline axis. If the {{cssxref(“writing-mode”)}} is horizontal, it corresponds to the {{cssxref(“width”)}}; if the writing mode is vertical, it corresponds to the {{cssxref(“height”)}}. A related property is {{cssxref(“block-size”)}}, which defines the other dimension of the element.

Values

pub const auto_: #(String, String)

auto value of inline-size

pub const fit_content: #(String, String)

fit-content value of inline-size

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const intrinsic: #(String, String)

intrinsic value of inline-size

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

length value of inline-size

pub const max_content: #(String, String)

max-content value of inline-size

pub const min_content: #(String, String)

min-content value of inline-size

pub const min_intrinsic: #(String, String)

min-intrinsic value of inline-size

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for inline-size

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const stretch: #(String, String)

stretch value of inline-size

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for inline-size. It will be wrapped in var() and have -- prepended.

Search Document