20%
getComputedStyle
BaselineWidely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2018.
API to get the current computed CSS styles applied to an element. This may be the current value applied by an animation or as set by a stylesheet.
IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
✓Supported
✗Not supported
Partial support