Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The CSSUnitValue()
constructor creates a new CSSUnitValue
object which returns a new CSSUnitValue
object which represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue
.