Web features explorer

getComputedStyle()

Widely available since 2018-01-29
Tags: api Groups: CSS > CSS object models

The getComputedStyle() global method returns an CSSStyleDeclaration object that represents all CSS declarations applied to a given element.

Learning resources on MDN

Browser support (view on caniuse.com)