A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/css/cssom/styleSheets below:

styleSheets · WebPlatform Docs

styleSheets Summary

A collection of the document’s stylesheets.

Properties

No properties.

Methods

No methods.

Events

No events.

Examples

This example shows how to display the titles of the style sheets in the document.

for ( i = 0; i < document.styleSheets.length; i++ )
{
    alert("Style sheet " + i + " is titled " + document.styleSheets(i).title);
}
Notes Remarks

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

Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4