ReadonlyunitThe CSSUnitValue.unit read-only property of the CSSUnitValue interface returns a string indicating the type of unit.
The CSSUnitValue.value property of the A double.
The add() method of the CSSNumericValue.
The div() method of the supplied value.
The equals() method of the value are strictly equal.
The mul() method of the the supplied value.
The sub() method of the CSSNumericValue.
The toSum() method of the js-nolint toSum(units) - units - : The units to convert to.
The type() method of the CSSNumericValue, one of angle, flex, frequency, length, resolution, percent, percentHint, or time.
The
CSSUnitValueinterface of the CSS Typed Object Model API represents values that contain a single unit type.MDN Reference