monks/grid_column

The grid-column CSS shorthand property specifies a grid item’s size and location within a {{glossary(“grid column”)}} by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its {{glossary(“grid areas”, “grid area”)}}.

Values

pub const auto_: #(String, String)
  • : Is a keyword indicating that the property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of 1.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for grid-column

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

span value of grid-column

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

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

Search Document