643   CSS JS

漂浮元素会遮挡底层元素的点击事件,为了避免这个问题,给漂浮元素添加以下样式

pointer-events: none;



Leave a Reply

Your email address will not be published. Required fields are marked *