monks/background_blend_mode

The background-blend-mode CSS property sets how an element’s background images should blend with each other and with the element’s background color.

Blending modes should be defined in the same order as the {{cssxref(“background-image”)}} property. If the blending modes’ and background images’ list lengths are not equal, it will be repeated and/or truncated until lengths match.

Values

pub const color: #(String, String)

color value of background-blend-mode

pub const color_burn: #(String, String)

color-burn value of background-blend-mode

pub const color_dodge: #(String, String)

color-dodge value of background-blend-mode

pub const darken: #(String, String)

darken value of background-blend-mode

pub const difference: #(String, String)

difference value of background-blend-mode

pub const exclusion: #(String, String)

exclusion value of background-blend-mode

pub const hard_light: #(String, String)

hard-light value of background-blend-mode

pub const hue: #(String, String)

hue value of background-blend-mode

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

lighten value of background-blend-mode

pub const luminosity: #(String, String)

luminosity value of background-blend-mode

pub const multiply: #(String, String)

multiply value of background-blend-mode

pub const normal: #(String, String)

normal value of background-blend-mode

pub const overlay: #(String, String)

overlay value of background-blend-mode

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

Enter a raw string value for background-blend-mode

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

saturation value of background-blend-mode

pub const screen: #(String, String)

screen value of background-blend-mode

pub const soft_light: #(String, String)

soft-light value of background-blend-mode

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

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

Search Document