AngleSharp by Florian Rappl

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

.NET API 1,176,064 bytes

 CssMedium

Represents a medium rule. More information available at: http://www.w3.org/TR/css3-mediaqueries/
public string Constraints { get; }

Gets a string describing the covered constraints.

public bool IsExclusive { get; }

Gets if the medium has been created using the only keyword.

public bool IsInverse { get; }

Gets if the medium has been created using the not keyword.

public string Type { get; }

Gets the type of medium that is represented.

Gets an enumerator over all included media features.

public string ToCss()

public string ToCss(IStyleFormatter formatter)

public bool Validate(RenderDevice device)

Validates the given medium against the provided rendering device.