1.offsetWidth & width
A:因为.
2.立即调用函数
https://blog.csdn.net/csdn_yudong/article/details/77431106
https://www.cnblogs.com/gyjWEB/p/4974745.html