Element.set_style_property#

Element.set_style_property(property, value)[source]#

Sets the value of a CSS property inside the style attribute.

Parameters:
  • property (str) – The name of the property

  • value (str) – The new value of the property.