getComputedStyle

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

The Window.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.

MDN Reference