JavaScript 中offsetTop offsetWidth clientWidth clientHeight 各种 width height
body
clientLeft : body的border-left的大小
clientTop:body的border-top的大小
clientWidth: body的border以内的宽度 (padding + content)
clientHeight: body的border以内的高度 (padding + content)
offsetWidth:body的 margi...
原创
2018-08-09 18:06:26 ·
237 阅读 ·
0 评论