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.

Browser support

  • Chrome
  • Chrome Android
  • Edge
  • Firefox
  • Firefox for Android
  • Safari 10 Released on 2016-09-20
  • Safari on iOS 10 Released on 2016-09-13