monks/min_block_size

The min-block-size CSS property defines the minimum horizontal or vertical size of an element’s block, depending on its writing mode. It corresponds to either the {{cssxref(“min-width”)}} or the {{cssxref(“min-height”)}} property, depending on the value of {{cssxref(“writing-mode”)}}.

If the writing mode is vertically oriented, the value of min-block-size relates to the minimum width of the element; otherwise, it relates to the minimum height of the element. A related property is {{cssxref(“min-inline-size”)}}, which defines the other dimension of the element.

Values

pub const auto_: #(String, String)

auto value of min-block-size

pub const fit_content: #(String, String)

fit-content value of min-block-size

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

intrinsic value of min-block-size

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

length value of min-block-size

pub const max_content: #(String, String)

max-content value of min-block-size

pub const min_content: #(String, String)

min-content value of min-block-size

pub const min_intrinsic: #(String, String)

min-intrinsic value of min-block-size

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

Enter a raw string value for min-block-size

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

stretch value of min-block-size

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

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

Search Document