scroll最好不要使用position:absolute;
js中top、clientTop、scrollTop、offsetTop的区别 文字详细说明版
参考地址:http://www.jb51.net/article/25935.htm
https://www.xiariboke.com/design/2682.html
scroll最好不要使用position:absolute;
js中top、clientTop、scrollTop、offsetTop的区别 文字详细说明版
参考地址:http://www.jb51.net/article/25935.htm
https://www.xiariboke.com/design/2682.html
转载于:https://www.cnblogs.com/important/p/7580852.html