图片的穿透效果 -- pointer-events: none
摘要:
使用场景:当我们需要选择上传文件的时候,图片把input输入框覆盖在上面,点击的时候不能出发input输入框所以要给图片设置穿透属性 ; 具体代码: #image { position: fixed; width: 5%; z-index: 10000; pointer-events: none; 阅读全文
posted @ 2023-02-09 17:14 流浪のwolf 阅读(29) 评论(0) 推荐(0) 编辑