get_property_css_value method

get_property_css_value

Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block. This method returns null if the property is a shorthand property. Shorthand property values can only be accessed and modified as strings, using the getPropertyValue and setProperty methods.

Returns

Returns property value

def get_property_css_value(self, property_name):
    ...
ParameterTypeDescription
property_namestrName of the property.

See Also