/ Published in: JavaScript
enter this into the browser console to check the computed style of any element you specify
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var elem = document.querySelector('h1#someId'); window.getComputedStyle(elem).display;