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

Properties

styleSheetId: StyleSheetId

The css style sheet identifier where a new rule should be inserted.

ruleText: string

The text of a new rule.

location: SourceRange

Text position of a new rule in the target style sheet.