pointer-events: none;点击穿透
能够实现对下层元素的操作
.background{
background-image:url("~@/assets/home.webp");
background-repeat:no-repeat;
z-index: 9;
position: absolute;
pointer-events: none;
width: 100%;
height: 100%;
}
pointer-events: none;点击穿透
能够实现对下层元素的操作
.background{
background-image:url("~@/assets/home.webp");
background-repeat:no-repeat;
z-index: 9;
position: absolute;
pointer-events: none;
width: 100%;
height: 100%;
}