工作相关

// dom相对于父元素的位置
clientWidth: 200, clientHeight: 200,
clientLeft: 0, clientTop: 0,
offsetHeight: 200, offsetWidth: 200,
offsetTop: 140,offsetLeft: 140,
scrollHeight: 200,scrollWidth: 200,
scrollLeft: 0,scrollTop: 0,

你可能感兴趣的:(工作相关)