--- title: CSS Object Model slug: Web/API/CSS_Object_Model tags: - API - CSSOM - NeedsTranslation - Reference - TopicStub translation_of: Web/API/CSS_Object_Model ---
{{DefaultAPISidebar('CSSOM')}}
The CSS Object Model is a set of APIs allowing to manipulate CSS from JavaScript. It is the pendant of DOM and HTML APIs, but for CSS. It allows to read and modify CSS style dynamically.
Several other interfaces are also extended by the CSSOM-related specifications: {{domxref("Document")}}, {{domxref("Window")}}, {{domxref("Element")}}, {{domxref("HTMLElement")}}, {{domxref("HTMLImageElement")}}, {{domxref("Range")}}, {{domxref("MouseEvent")}}, and {{domxref("SVGElement")}}.
Specification | Status | Comment |
---|---|---|
{{SpecName("CSSOM")}} | {{Spec2("CSSOM")}} | |
{{SpecName("CSSOM View")}} | {{Spec2("CSSOM View")}} | |
{{SpecName("Screen Orientation")}} | {{Spec2("Screen Orientation")}} | |
{{SpecName("CSS3 Fonts")}} | {{Spec2("CSS3 Fonts")}} | |
{{SpecName("CSS3 Animations")}} | {{Spec2("CSS3 Animations")}} | |
{{SpecName("CSS3 Transitions")}} | {{Spec2("CSS3 Transitions")}} | |
{{SpecName("CSS3 Variables")}} | {{Spec2("CSS3 Variables")}} | |
{{SpecName("CSS3 Conditional")}} | {{Spec2("CSS3 Conditional")}} | |
{{SpecName("CSS3 Device")}} | {{Spec2("CSS3 Device")}} | |
{{SpecName("CSS3 Counter Styles")}} | {{Spec2("CSS3 Counter Styles")}} |
All these features have been added little by little over the years to the different browsers: it was a quite complex process that can't be summarized in a simple table. Please refer to the specific interfaces for its availability.