AngleSharp by Florian Rappl

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

.NET API 1,229,312 bytes

 CssStyleEngine

public class CssStyleEngine : IStyleEngine
The CSS style engine for creating CSSStyleSheet instances.
public IStyleSheet Default { get; }

Gets the default stylesheet as specified by the W3C: http://www.w3.org/TR/CSS21/sample.html

public string Type { get; }

Gets the type for the CSS style engine.

public CssStyleEngine()

public IStyleSheet Parse(string source, StyleOptions options)

Creates a style sheet for the given source.

public IStyleSheet Parse(IResponse response, StyleOptions options)

Creates a style sheet for the given response from a request.