style property Null safety

CssStyleDeclarationBase style

Access the union of all CssStyleDeclarations that are associated with an ElementList.

Grouping the style objects all together provides easy editing of specific properties of a collection of elements. Setting a specific property value will set that property in all Elements in the ElementList. Getting a specific property value will return the value of the property of the first element in the ElementList.

Implementation

CssStyleDeclarationBase get style;