--- title: CSS Object Model (CSSOM) slug: Web/API/CSS_Object_Model tags: - API - CSSOM translation_of: Web/API/CSS_Object_Model ---
{{DefaultAPISidebar('CSSOM')}}

CSS Object Model, CSS'in JavaScript ile yönetilmesine imkan tanıyan bir API setidir. DOM ile oldukça benzerdir. Ancak CSSOM, HTML'den ziyade CSS içindir. CSSOM ile kullanıcılar CSS'i okuyabilir ya da dinamik olarak değiştirebilirler.

Referanslar

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")}}.

CSS Typed Object Model {{experimental_inline}}

{{SeeCompatTable}}

Eski CSSOM Arayüzleri {{obsolete_inline}}

{{obsolete_header}}

Öğretici Materyaller

Özellikler

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")}} {{DOMxRef("CSS")}} arayüzü tanımlandı.
{{SpecName("CSS3 Device")}} {{Spec2("CSS3 Device")}}  
{{SpecName("CSS3 Counter Styles")}} {{Spec2("CSS3 Counter Styles")}}  
{{SpecName("DOM2 Style")}} {{Spec2("DOM2 Style")}} İlk tanımlama.

Tarayıcı Uyumluluğu

Tüm bu özellikler yıllar içinde azar azar farklı tarayıcılara eklendi: Basit bir tabloyla özetlenemeyecek kadar karmaşık bir süreç olduğundan lütfen kullanılabilirlik için belirli arayüzlere bakın.

Ayrıca Bkz.