Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.CSS.CSSStyle
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { CSSStyle } = default.CSS;

CSS style representation.

Properties

optional
styleSheetId: StyleSheetId

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

cssProperties: CSSProperty[]

CSS properties in the style.

shorthandEntries: ShorthandEntry[]

Computed values for all shorthands found in the style.

optional
cssText: string

Style declaration text (if available).

optional
range: SourceRange

Style declaration range in the enclosing stylesheet (if available).