Web platform features explorer

CSS object model (DOM level 2)

Discouraged
Tags: api Groups: CSS > CSS object models

This feature is discouraged. Consider using CSS object model instead. For the rationale, see:

The DOM level 2 style specification defined interfaces to access and modify CSS styles, such as CSSValue and CSSPrimitiveValue, that were later excluded from the CSS object model.

Learning resources on MDN

Browser support