--- title: CSS 객체 모델 (CSSOM) slug: Web/API/CSS_Object_Model tags: - API - CSSOM - Overview - Reference translation_of: Web/API/CSS_Object_Model ---
{{DefaultAPISidebar('CSSOM')}}
CSS Object Model은 JavaScript에서 CSS를 조작할 수 있는 API 집합입니다. HTML 대신 CSS가 대상인 DOM이라고 생각할 수 있으며, 사용자가 CSS 스타일을 동적으로 읽고 수정할 수 있는 방법입니다.
여러 다른 인터페이스도 CSSOM-related 규격에 의해 확장됩니다 : {{domxref("Document")}}, {{domxref("Window")}}, {{domxref("Element")}}, {{domxref("HTMLElement")}}, {{domxref("HTMLImageElement")}}, {{domxref("Range")}}, {{domxref("MouseEvent")}}, and {{domxref("SVGElement")}}.
{{SeeCompatTable}}
Specification | Status | Comment |
---|---|---|
{{SpecName("CSS Typed OM")}} | {{Spec2("CSS Typed OM")}} | |
{{SpecName("CSS Painting API")}} | {{Spec2("CSS Painting API")}} | Extended the {{DOMxRef("CSS")}} interface with the {{DOMxRef("CSS.paintWorklet","paintWorklet")}} static property. |
{{SpecName("CSSOM View")}} | {{Spec2("CSSOM View")}} | Defined the {{DOMxRef("Screen")}} and {{DOMxRef("MediaQueryList")}} interfaces and the {{DOMxRef("MediaQueryListEvent")}} event and {{DOMxRef("MediaQueryListListener")}} event listener. |
{{SpecName("CSSOM")}} | {{Spec2("CSSOM")}} | Extended the {{DOMxRef("CSS")}} interface and provides the base for the modern CSSOM specification. |
{{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")}} | Defined the {{DOMxRef("CSS")}} interface. |
{{SpecName("CSS3 Device")}} | {{Spec2("CSS3 Device")}} | |
{{SpecName("CSS3 Counter Styles")}} | {{Spec2("CSS3 Counter Styles")}} | |
{{SpecName("DOM2 Style")}} | {{Spec2("DOM2 Style")}} | Initial definition. |