monks/margin
The margin CSS shorthand property sets the margin area on all four sides of an element.
Values
pub const auto_: #(String, String)
- : The browser selects a suitable margin to use. For example, in certain cases this value can be used to center an element.
pub fn length(value: monks_of_style.Length) -> #(String, String)
- : The size of the margin as a fixed value. - For anchor-positioned elements, the {{cssxref(“anchor-size()”)}} function resolves to a {{cssxref(“<length>”)}} value relative to the associated anchor element’s width or height (see Setting element margin based on anchor size).
pub const revert_layer: #(String, String)