AngleSharp by Florian Rappl

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

 CssBuilder

sealed class CssBuilder
See http://dev.w3.org/csswg/css-syntax/#parsing for details.
public CssBuilder(CssTokenizer tokenizer, CssParser parser)

Parses an @-rule with the given name, if there is any.

public CssRule CreateCharset(CssToken current)

Called before any token in the value regime had been seen.

Called before the property name has been detected.

public CssProperty CreateDeclarationWith(Func<string, CssProperty> createProperty, ref CssToken token)

Called before the property name has been detected.

Called when the document functions have to been found.

public CssRule CreateImport(CssToken current)

Before the curly bracket of an @keyframes rule has been seen.

Called in the text for a frame in the @keyframes rule.

public CssRule CreateMedia(CssToken current)

public List<CssMedium> CreateMedia(ref CssToken token)

public CssMedium CreateMedium(ref CssToken token)

Scans the current medium for the @media or @import rule.

public CssRule CreatePage(CssToken current)

public CssRule CreateRule(CssToken token)

Creates a rule with the enumeration of tokens.

public CssRule CreateStyle(CssToken current)

public CssRule CreateUnknown(CssToken current)

public CssValue CreateValue(ref CssToken token)

Fills the given parent style with declarations given by the tokens.