Function sauron::percent

source ·
pub fn percent(v: impl Into<Value>) -> String
Expand description

percentage Example:

use sauron::html::units::*;

assert_eq!("10%", percent(10))

MDN reference