monks/container

The container shorthand CSS property establishes the element as a query container and specifies the name and type of the containment context used in a container query.

Values

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

inline-size value of container

pub const none: #(String, String)

none value of container

pub const normal: #(String, String)

normal value of container

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

Enter a raw string value for container

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

size value of container

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

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

Search Document