Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.CSS.CSSProperty
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CSSProperty } = default.CSS;

CSS property declaration data.

Properties

name: string

The property name.

value: string

The property value.

optional
important: boolean

Whether the property has "!important" annotation (implies false if absent).

optional
implicit: boolean

Whether the property is implicit (implies false if absent).

optional
text: string

The full property text as specified in the style.

optional
parsedOk: boolean

Whether the property is understood by the browser (implies true if absent).

optional
disabled: boolean

Whether the property is disabled by the user (present for source-based properties only).

optional
range: SourceRange

The entire property range in the enclosing style declaration (if available).