Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The type()
method of the CSSNumericValue
interface returns the type of CSSNumericValue
, one of angle
, flex
, frequency
, length
, resolution
, percent
, percentHint
, or time
.