AngleSharp by Florian Rappl

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

 MediaFeature

public abstract class MediaFeature : IStyleFormattable
Represents a feature expression within a media query.
public bool IsMaximum { get; }

Gets if the feature represents the maximum.

public bool IsMinimum { get; }

Gets if the feature represents the minimum.

public string Name { get; }

Gets the name of the feature.

public string Value { get; }

Gets the value of the feature, if any.

public string ToCss()

Returns the (complete) CSS style representation of the node.

public string ToCss(IStyleFormatter formatter)

Returns the serialization of the node guided by the formatter.

public abstract bool Validate(RenderDevice device)

Validates the given feature against the provided rendering device.