This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.



Get a list of Style sheets applied to the current document as an ordered collection.

Property of css/cssom/propertiescss/cssom/properties


var result = element.styleSheets;
element.styleSheets = value;

Return Value

Returns an object of type StyleSheetListStyleSheetList

Get a list of CSS Style Sheets assigned to the current document.



Style sheets that are imported using the @import rule and are contained within the style object are available through the imports collection.

Related specifications

CSS Object Model (CSSOM), Section 6.2.3 Extensions to the Document Interface
W3C Working Draft

See also

Other articles

Related pages