CssMaxWidthProperty
Information can be found on MDN:
https://developer.mozilla.org/en-US/docs/Web/CSS/max-width
Gets the specified max-width of the element. A percentage is
calculated with respect to the width of the containing block.
using AngleSharp.Css;
using AngleSharp.Extensions;
namespace AngleSharp.Dom.Css
{
internal sealed class CssMaxWidthProperty : CssProperty
{
private static readonly IValueConverter StyleConverter = Converters.OptionalLengthOrPercentConverter.OrDefault();
internal override IValueConverter Converter => StyleConverter;
internal CssMaxWidthProperty()
: base(PropertyNames.MaxWidth, PropertyFlags.Animatable)
{
}
}
}