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

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

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

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