TAG
CSS
JavaScript
Result
Run
License
<div class="box">BOX</div>
.box { width: 100px; height: 70px; background: #CCC; padding: 10px; border: 2px solid #FF0000; }
window.addEventListener("load", function() { let elBox = document.querySelector(".box"); console.log(elBox.clientHeight); });
Console
expand_less
License
License
by DevDic
Close