Constant freya::elements::paragraph::position_left
source · pub const position_left: (&'static str, Option<&'static str>, bool);
Expand description
Specify the left position of an element when using position: "absolute"
or position: "global"
.
This supports pixels only.
§Example
fn app() -> Element {
rsx!(
rect {
width: "100%",
height: "100%",
rect {
position: "absolute",
position_bottom: "15",
position_left: "15",
background: "black",
width: "100",
height: "100",
}
}
)
}