JavaScript CSSStyleDeclaration getPropertyValue() Method
JavaScript CSSStyleDeclaration getPropertyValue() Method
The getPropertyValue() method is used to return the value of the specified CSS property.
Syntax:-
Its syntax is:- object.getPropertyValue(propertyname)
Further Explanation:-
Parameter | Description |
---|---|
propertyname | Required. A String which represent the name of the property. |