files/en-us/web/api/css/index.md
{{APIRef("CSSOM")}}
The CSS interface holds useful CSS-related methods. No objects with this interface are implemented: it contains only static methods and is therefore a utilitarian interface.
HighlightRegistry used to style arbitrary text ranges using the {{domxref("css_custom_highlight_api", "CSS Custom Highlight API", "", "nocode")}}.The CSS interface is a utility interface and no object of this type can be created: only static properties are defined on it.
No inherited static methods.
: Can be used to return a new CSSUnitValue with a value of the parameter number of the units of the name of the factory function method used.
CSS.em(3); // CSSUnitValue {value: 3, unit: "em"}
The CSS interface is a utility interface and no object of this type can be created: only static methods are defined on it.
{{Specifications}}
{{Compat}}