Help Center

Local Navigation

CSS and stylesheets API

Object

Description

Availability

Counter

Represents any counter or counters function value.

4.6 or later

CSSCharsetRule

Represents an @charset rule, which holds an encoding definition.

4.6 or later

CSSFontFaceRule

Represents an @font-face rule, which holds a set of font descriptions.

4.6 or later

CSSImportRule

Represents an @import rule, which imports style rules from other style sheets.

4.6 or later

CSSMediaRule

Represents an @media rule, which defines style rules for a specific media type.

4.6 or later

CSSPageRule

Represents a @page rule, which specifies the dimensions, orientation, and margins for paged media.

4.6 or later

CSSPrimitiveValue

Represents a single CSS value.

4.6 or later

CSSRule

The base class that defines any rule in a CSS style sheet, including rule sets and @ rules.

4.6 or later

CSSRuleList

Represents an ordered collection of CSSRule objects.

4.6 or later

CSSStyleDeclaration

Represents a CSS declaration block that consists of CSS properties and their values.

4.6 or later

CSSStyleRule

Represents a single rule set in a CSS style sheet.

4.6 or later

CSSStyleSheet

Represents a CSS style sheet.

4.6 or later

CSSUnknownValue

Represents an unsupported @ rule.

4.6 or later

CSSValue

Represents a simple or complex CSS property value.

4.6 or later

CSSValueList

Represents an ordered collection of CSSValue objects.

4.6 or later

MediaList

Represents an ordered collection of media. An empty list is equivalent to a list that contains a value of all.

4.6 or later

Rect

Represents a Rect value.

4.6 or later

RGBColor

Represents an RGB color value.

4.6 or later

Stylesheet

Represents a single external or inline style sheet that is associated with a document.

4.6 or later

StylesheetList

Represents an ordered collection of StyleSheet objects.

4.6 or later

Next topic: Object: Counter
Previous topic: Text methods

Was this information helpful? Send us your comments.