monks/max_inline_size

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

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

Values

pub const fit_content: #(String, String)

fit-content value of max-inline-size

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

intrinsic value of max-inline-size

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

length value of max-inline-size

pub const max_content: #(String, String)

max-content value of max-inline-size

pub const min_content: #(String, String)

min-content value of max-inline-size

pub const min_intrinsic: #(String, String)

min-intrinsic value of max-inline-size

pub const none: #(String, String)

none value of max-inline-size

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

Enter a raw string value for max-inline-size

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

stretch value of max-inline-size

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

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

Search Document