offset、client、scroll (width,height、left,top、X,Y)
程序员文章站
2022-06-22 21:33:50
offsetWidth、clientWidth、scrollWidthdiv{ width: 20px; height: 20px; padding: 10px; border: 5px solid #000080;}