Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CSSRule

A single CSS rule. There are several types of rules, listed in the Type constants section below.

interface CSSRule {
readonly CHARSET_RULE: number;
cssText: string;
readonly FONT_FACE_RULE: number;
readonly IMPORT_RULE: number;
readonly KEYFRAME_RULE: number;
readonly KEYFRAMES_RULE: number;
readonly MEDIA_RULE: number;
readonly NAMESPACE_RULE: number;
readonly PAGE_RULE: number;
readonly parentRule: CSSRule | null;
readonly parentStyleSheet: CSSStyleSheet | null;
readonly STYLE_RULE: number;
readonly SUPPORTS_RULE: number;
readonly type: number;
}
var CSSRule: {
prototype: CSSRule;
readonly CHARSET_RULE: number;
readonly FONT_FACE_RULE: number;
readonly IMPORT_RULE: number;
readonly KEYFRAMES_RULE: number;
readonly KEYFRAME_RULE: number;
readonly MEDIA_RULE: number;
readonly NAMESPACE_RULE: number;
readonly PAGE_RULE: number;
readonly STYLE_RULE: number;
readonly SUPPORTS_RULE: number;
new (): CSSRule;
}
;

§Properties

§
readonly CHARSET_RULE: number
[src]
§
cssText: string
[src]
§
readonly FONT_FACE_RULE: number
[src]
§
readonly IMPORT_RULE: number
[src]
§
readonly KEYFRAME_RULE: number
[src]
§
readonly KEYFRAMES_RULE: number
[src]
§
readonly MEDIA_RULE: number
[src]
§
readonly NAMESPACE_RULE: number
[src]
§
readonly PAGE_RULE: number
[src]
§
readonly parentRule: CSSRule | null
[src]
§
readonly parentStyleSheet: CSSStyleSheet | null
[src]
§
readonly STYLE_RULE: number
[src]
§
readonly SUPPORTS_RULE: number
[src]
§
readonly type: number
[src]