查看天猫官网时,发现当滚动条滚动时,body标签会加上 pointer-events:none;查了这个属性的意思,但是不解的是加在body上有什么作用呢?
认证0级讲师
http://www.zhangxinxu.com/wordpress/2014/01/pointer-events-none-avoiding-unnecessary-paints/
Set the current element to be unclickable when scrolling
http://www.zhangxinxu.com/wordpress/2014/01/pointer-events-none-avoiding-unnecessary-paints/
Set the current element to be unclickable when scrolling