Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>CSSRule

💧EventEmitter's typesafe replacement
Go to Latest
interface CSSRule
import { type CSSRule } from "https://deno.land/x/evt@v2.4.20/lib/types/lib.dom.ts";

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

Properties

cssText: string
readonly
parentRule: CSSRule | null
readonly
parentStyleSheet: CSSStyleSheet | null
readonly
type: number
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
readonly
UNKNOWN_RULE: number
readonly
VIEWPORT_RULE: number