AngleSharp by Florian Rappl

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

 MediaFeature

public abstract class MediaFeature
Represents a feature expression within a media query.
public string CssText { get; }

Gets a CSS code representation of the medium.

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 ICssValue Value { get; }

Gets the value of the feature, if any.

protected abstract bool TrySetCustom(ICssValue value)

Tries to set the given value.

protected abstract bool TrySetDefault()

Tries to set the default value.

public abstract bool Validate(RenderDevice device)

Validates the given feature against the provided rendering device.