Element.style

ElementStyle style() @property

Provides both string and object style (like in Javascript) access to the style attribute.

element.style.color = "red"; // translates into setting `color: red;` in the `style` attribute

ElementStyle style(string s) @property

This sets the style attribute with a string.