Function sauron::ch

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

Relative to the width of the “0” (zero)

Example:

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

assert_eq!("10ch", ch(10));

MDN reference