CSSRule

js.html.CSSRule (extern class)

The CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants section below.

Documentation CSSRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Static Members

STYLE_RULE: Int

CHARSET_RULE: Int

IMPORT_RULE: Int

MEDIA_RULE: Int

FONT_FACE_RULE: Int

PAGE_RULE: Int

NAMESPACE_RULE: Int

KEYFRAMES_RULE: Int

KEYFRAME_RULE: Int

COUNTER_STYLE_RULE: Int

SUPPORTS_RULE: Int

FONT_FEATURE_VALUES_RULE: Int

Instance Members

type: Int

cssText: String

parentRule: CSSRule

parentStyleSheet: CSSStyleSheet