1.4 KiB
1.4 KiB
Home > puppeteer > Protocol > CSS > CSSStyle
Protocol.CSS.CSSStyle interface
CSS style representation.
Signature:
export interface CSSStyle
Properties
Property | Type | Description |
---|---|---|
cssProperties | CSSProperty[] | CSS properties in the style. |
cssText | string | Style declaration text (if available). |
range | SourceRange | Style declaration range in the enclosing stylesheet (if available). |
shorthandEntries | ShorthandEntry[] | Computed values for all shorthands found in the style. |
styleSheetId | StyleSheetId | The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. |