CSSStyleRule

Contents

CSSStyleRule#

class penzai.treescope.foldable_representation.part_interface.CSSStyleRule[source]#

Bases: object

A CSS rule (or set of rules).

The contents of rule will be inserted into a <style> block in the rendered tree.

Variables:

rule (str) – The rule to insert.

Methods

__init__(rule)

Attributes

rule