monks/margin_trim

{{SeeCompatTable}}

The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges.

Values

pub const all: #(String, String)

all value of margin-trim

pub const in_flow: #(String, String)

in-flow value of margin-trim

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const none: #(String, String)
  • : Margins are not trimmed by the container.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for margin-trim

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 margin-trim. It will be wrapped in var() and have -- prepended.

Search Document