AngleSharp by AngleSharp

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

 CssPropertyFactory

Provides string to CSSProperty instance creation mappings.

public CssProperty Create(string name)

Creates a new property.

public CssProperty CreateFont(string name)

Creates a new property for @font-face.

public CssProperty CreateLonghand(string name)

Creates a new longhand property.

public CssProperty[] CreateLonghandsFor(string name)

Creates a series of longhand properties for the provided shorthand.

Creates a new shorthand property.

public CssProperty CreateViewport(string name)

Creates a new property for @viewport.

public string[] GetLonghands(string name)

Gets the longhands that map to the specified shorthand property.

public IEnumerable<string> GetShorthands(string name)

Gets the shorthands that map to the specified longhand property.

public bool IsAnimatable(string name)

Checks if the given property name is actually animatable.

public bool IsLonghand(string name)

Checks if the given property name is a longhand property.

public bool IsShorthand(string name)

Checks if the given property name is a shorthand property.