monks/box_shadow
The box-shadow CSS property adds shadow effects around an element’s frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color.
Values
pub const inset: #(String, String)
- : Changes the shadow from an outer box-shadow to an inner box-shadow (as if the content is pressed into the box). Inset shadows are drawn inside the box’s border (even if the border is transparent), and they appear above the background but below the content. By default, the shadow behaves like a drop shadow, giving the appearance that the box is elevated above its content. This is the default behavior when
insetis not specified.
pub fn length(value: monks_of_style.Length) -> #(String, String)
length value of box-shadow
pub const revert_layer: #(String, String)