Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.CSS.CSSStyle
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CSSStyle } = Protocol.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).