monks/background_clip
The background-clip CSS property sets whether an element’s background extends underneath its border box, padding box, or content box.
Values
pub const border_box: #(String, String)
- : The background extends to the outside edge of the border (but underneath the border in z-ordering).
pub const content_box: #(String, String)
- : The background is painted within (clipped to) the content box.
pub const padding_box: #(String, String)
- : The background extends to the outside edge of the padding. No background is drawn beneath the border.
pub const revert_layer: #(String, String)
pub const text: #(String, String)
- : The background is painted within (clipped to) the foreground text.