Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.CSS.CSSProperty
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.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).