AngleSharp by Florian Rappl

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

.NET API 1,176,064 bytes

 ICssStyleSheet

Represents the CSS style sheet for storing CSS styles.
string CssText { get; }

Gets a CSS code representation of the stylesheet.

Gets the @import rule if the stylesheet was importated otherwise it returns null.

Gets a CSSRuleList of the CSS rules in the style sheet.

int Insert(string rule, int index)

Inserts a new style rule into the current style sheet.

void RemoveAt(int index)

Removes a style rule from the current style sheet object.