getPropertyValue

open fun getPropertyValue(property: String): String(source)

The CSSStyleDeclaration.getPropertyValue() method interface returns a string containing the value of a specified CSS property.

MDN Reference