puppeteer/new-docs/puppeteer.protocol.css.cssrule.md
2020-07-13 14:01:35 +01:00

1.4 KiB

Home > puppeteer > Protocol > CSS > CSSRule

Protocol.CSS.CSSRule interface

CSS rule representation.

Signature:

export interface CSSRule 

Properties

Property Type Description
media CSSMedia[] Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.
origin StyleSheetOrigin Parent stylesheet's origin.
selectorList SelectorList Rule selector data.
style CSSStyle Associated style declaration.
styleSheetId StyleSheetId The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.