CssMarginTopProperty
Information can be found on MDN:
https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
Gets the margin relative to the height of the containing block or a
fixed height, if any.
Gets if the margin is automatically determined.
using AngleSharp.Css;
using AngleSharp.Css.Values;
using AngleSharp.Extensions;
namespace AngleSharp.Dom.Css
{
internal sealed class CssMarginTopProperty : CssProperty
{
private static readonly IValueConverter StyleConverter = Converters.AutoLengthOrPercentConverter.OrDefault(Length.Zero);
internal override IValueConverter Converter => StyleConverter;
internal CssMarginTopProperty()
: base(PropertyNames.MarginTop, PropertyFlags.Unitless | PropertyFlags.Animatable)
{
}
}
}