getComputedStyle

external fun getComputedStyle(element: Element, pseudoElement: String? = definedExternally): CSSStyleDeclaration(source)

MDN Reference