monks/gap

The gap CSS shorthand property sets the gaps (also called {{glossary(“gutters”)}}) between rows and columns. This property applies to multi-column, flex, and grid containers.

Values

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

length value of gap

pub const normal: #(String, String)

normal value of gap

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

Enter a raw string value for gap

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

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

Search Document