Skip to main content
Go to Latest
interface default.CSS.CSSStyle
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
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).