Function sauron::prelude::html::units::pt

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

points (1pt = 1/72 of 1in)

Example:

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

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

MDN reference