AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.4" />

.NET API 1,229,312 bytes

 ICssRule

public interface ICssRule
Represents the base interface for a CSS rule.
string CssText { get; set; }

Gets the textual representation of the rule.

Gets the CSSStyleSheet object that owns this rule, if any.

ICssRule Parent { get; }

Gets the containing (parent) rule, if any.

CssRuleType Type { get; }

Gets the type constant indicating the type of CSS rule.