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