monks/background

The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method. Component properties not set in the background shorthand property value declaration are set to their default values.

Values

pub const auto_: #(String, String)

auto value of background

pub const border_box: #(String, String)

border-box value of background

pub const bottom: #(String, String)

bottom value of background

pub const center: #(String, String)

center value of background

pub const circle: #(String, String)

circle value of background

pub const closest_corner: #(String, String)

closest-corner value of background

pub const closest_side: #(String, String)

closest-side value of background

pub const contain: #(String, String)

contain value of background

pub const content_box: #(String, String)

content-box value of background

pub const cover: #(String, String)

cover value of background

pub const ellipse: #(String, String)

ellipse value of background

pub const farthest_corner: #(String, String)

farthest-corner value of background

pub const farthest_side: #(String, String)

farthest-side value of background

pub const fixed: #(String, String)

fixed value of background

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const left: #(String, String)

left value of background

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

length value of background

pub const local: #(String, String)

local value of background

pub const no_repeat: #(String, String)

no-repeat value of background

pub const none: #(String, String)

none value of background

pub const padding_box: #(String, String)

padding-box value of background

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

Enter a raw string value for background

pub const repeat: #(String, String)

repeat value of background

pub const repeat_x: #(String, String)

repeat-x value of background

pub const repeat_y: #(String, String)

repeat-y value of background

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const right: #(String, String)

right value of background

pub const round: #(String, String)

round value of background

pub const scroll: #(String, String)

scroll value of background

pub const space: #(String, String)

space value of background

pub const top: #(String, String)

top value of background

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for background. It will be wrapped in var() and have -- prepended.

Search Document