獲得瀏覽器顯示標簽的真實的長寬高

var rect = $('.CalendarColumn').get(0).getBoundingClientRect();

$('.CalendarColumn').get(0).getBoundingClientRect()
ClientRect {height: 73, 191, left: 45, bottom: 212, right: 236…}

bottom: 212

height: 73

left: 45

right: 236

top: 139

191

原文地址:https://www.cnblogs.com/Koy/p/3991036.html