Function sauron::prelude::units::px [−][src]
pub fn px<V>(v: V) -> String where
V: Into<Value>,
Expand description
pixels (1px = 1/96th of 1in)
a helper function which append px
into a value
Example:
ⓘ
style("width", px(100))