pub const backdrop_blur: (&'static str, Option<&'static str>, bool);
Expand description
Control the blur effect on this element’s background.
A higher value makes it more blurry.
It is important to note that the element’s background must be at least a bit transparent to appreciate the blur effect.
§Example
fn app() -> Element {
rsx!(
rect {
backdrop_blur: "10",
background: "rgb(255, 255, 255, 0.4)"
}
)
}