monks/backdrop_filter

The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect the element or its background needs to be transparent or partially transparent.

Values

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

length value of backdrop-filter

pub const none: #(String, String)
  • : No filter is applied to the backdrop.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for backdrop-filter

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

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

Search Document