monks/place_items

The CSS place-items shorthand property aligns items along both the block and inline directions at once. It sets the values of the {{CSSxRef(“align-items”)}} and {{CSSxRef(“justify-items”)}} properties. If the second value is not set, the first value is also used for it.

Values

pub const baseline: #(String, String)

baseline value of place-items

pub const center: #(String, String)

center value of place-items

pub const end: #(String, String)

end value of place-items

pub const first: #(String, String)

first value of place-items

pub const flex_end: #(String, String)

flex-end value of place-items

pub const flex_start: #(String, String)

flex-start value of place-items

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

last value of place-items

pub const left: #(String, String)

left value of place-items

pub const legacy: #(String, String)

legacy value of place-items

pub const normal: #(String, String)

normal value of place-items

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

Enter a raw string value for place-items

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

right value of place-items

pub const safe: #(String, String)

safe value of place-items

pub const self_end: #(String, String)

self-end value of place-items

pub const self_start: #(String, String)

self-start value of place-items

pub const start: #(String, String)

start value of place-items

pub const stretch: #(String, String)

stretch value of place-items

pub const unsafe: #(String, String)

unsafe value of place-items

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

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

Search Document