CSS pointer-events to allow clicks on underlying elements
CSS pointer-events to allow clicks on underlying elements
demo
.overlay {
position: absolute;
right: 0px;
top: 0;
width: 40px;
height: 40px;
background: rgba(0, 0, 0, 0.5);
}
.pointer-events-none {
pointer-events: none;
}
沒有留言:
張貼留言