IT lexicon › Web › CSSOM

CSSOM

Web På svenska → Updated: 2026-11-16

CSS Object Model — the JavaScript API through which a browser exposes stylesheets and CSS rules as a traversable tree of objects.

CSSOM is the CSS equivalent of the DOM. While the DOM represents HTML elements as a tree, CSSOM represents CSS rules as a parallel tree. Every `` or `

Reading or writing CSSOM from JavaScript can trigger a cascade of layout recalculations if you're not careful. Modern browsers batch mutations to reduce overhead, but CSSOM remains a potential bottleneck in the rendering pipeline, especially for animations or real-time style manipulation.

← Back to the lexicon