Documentation

website.browser.css

Read CSSOM numbers at the browser boundary.

font-size

(font-size)(font-size element)

Computed font size in CSS pixels. With no element, return the size of one rem.

magnitude

(magnitude value)

Read the numeric prefix of a CSS value like 12px or 0.3s. Keeps the unit conversion with the caller and yields NaN for keywords such as auto.