We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

document.styleSheets Redirect 1

« document

The Document.styleSheets read-only property returns a StyleSheetList of StyleSheet objects for stylesheets explicitly linked into or embedded in a document.


var styleSheetList = document.styleSheets;

The returned object is a StyleSheetList.

It is an ordered collection of StyleSheet objects. styleSheetList.item(index) or simply styleSheetList[index] returns a single stylesheet object by its index (index is 0-based).


Document Tags and Contributors

 Last updated by: Sheppy,