25 lines
1.4 KiB
Markdown
25 lines
1.4 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [CSSRule](./puppeteer.protocol.css.cssrule.md)
|
||
|
|
||
|
## Protocol.CSS.CSSRule interface
|
||
|
|
||
|
CSS rule representation.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface CSSRule
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [media](./puppeteer.protocol.css.cssrule.media.md) | [CSSMedia](./puppeteer.protocol.css.cssmedia.md)<!-- -->\[\] | Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards. |
|
||
|
| [origin](./puppeteer.protocol.css.cssrule.origin.md) | [StyleSheetOrigin](./puppeteer.protocol.css.stylesheetorigin.md) | Parent stylesheet's origin. |
|
||
|
| [selectorList](./puppeteer.protocol.css.cssrule.selectorlist.md) | [SelectorList](./puppeteer.protocol.css.selectorlist.md) | Rule selector data. |
|
||
|
| [style](./puppeteer.protocol.css.cssrule.style.md) | [CSSStyle](./puppeteer.protocol.css.cssstyle.md) | Associated style declaration. |
|
||
|
| [styleSheetId](./puppeteer.protocol.css.cssrule.stylesheetid.md) | [StyleSheetId](./puppeteer.protocol.css.stylesheetid.md) | The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. |
|
||
|
|