monks/inset

The inset CSS property is a shorthand that corresponds to the {{cssxref(“top”)}}, {{cssxref(“right”)}}, {{cssxref(“bottom”)}}, and/or {{cssxref(“left”)}} properties. It has the same multi-value syntax of the {{cssxref(“margin”)}} shorthand.

This {{glossary(“inset properties”)}}, including inset, have no effect on non-positioned elements.

Values

pub const auto_: #(String, String)

auto value of inset

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

length value of inset

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

Enter a raw string value for inset

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

Search Document