pub const shadow: (&'static str, Option<&'static str>, bool);
Expand description
Draw a shadow of the element.
Syntax: <x> <y> <intensity> <size> <color>
ยงExample
fn app() -> Element {
rsx!(
rect {
shadow: "0 0 25 2 rgb(0, 0, 0, 120)"
}
)
}