就是绝对定位的元素时设置的left/right/bottom属性
offsetLeft:
  • left is an integer representing the offset to the left in pixels from the closest relatively positioned parent element.





2.offsetLeft/offsetTop/offsetWidth/offsetHeight

2019-02-17 00:11:50 0 9
这里是评论

相关推荐