The block-size CSS property defines the size of an element’s block along the block axis. If the {{cssxref(“writing-mode”)}} is horizontal, it corresponds to the {{cssxref(“height”)}}; if the writing mode is vertical, it corresponds to the {{cssxref(“width”)}}. A related property is {{cssxref(“inline-size”)}}, which defines the other dimension of the element.
pub const auto_: #(String, String)
pub const fit_content: #(String, String)
fit-content value of block-size
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const intrinsic: #(String, String)
intrinsic value of block-size
pub const max_content: #(String, String)
max-content value of block-size
pub const min_content: #(String, String)
min-content value of block-size
pub const min_intrinsic: #(String, String)
min-intrinsic value of block-size
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for block-size
pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const stretch: #(String, String)
stretch value of block-size
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for block-size.
It will be wrapped in var() and have -- prepended.