import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { CSSRule } = Protocol.CSS;
CSS rule representation.
Properties
optional
styleSheetId: StyleSheetIdThe css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
selectorList: SelectorList
Rule selector data.
origin: StyleSheetOrigin
Parent stylesheet's origin.
style: CSSStyle
Associated style declaration.
optional
media: CSSMedia[]Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.