AngleSharp by Florian Rappl

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

 CSSPrimitiveValue

public sealed class CSSPrimitiveValue : CSSValue
Represents a CSS primitive value.
public CssValue PrimitiveType { get; }

Gets the type of the value as defined by the CssValue constants.

public float GetFloatValue(UnitType unitType)

public Rect GetRectValue()

public string GetStringValue()

public CSSPrimitiveValue SetFloatValue(UnitType unitType, float value)

public CSSPrimitiveValue SetStringValue(UnitType unitType, string value)