CSSRule

interface · experimental

interface CSSRule

UNSTABLE: New API, yet to be vetted.

A single CSS rule of a CSSStyleSheet, as returned from its cssRules property. Available only when the --unstable-raw-imports flag is enabled.

Note: cssText is the verbatim text of one top-level rule of the style sheet; Ende does not implement a full CSS object model.

variable · experimental

var CSSRule: { … }

UNSTABLE: New API, yet to be vetted.

Constructors

constructor

new CSSRule(): never

Properties

cssText

readonly cssText: string

prototype

readonly prototype: CSSRule