java8031
java8031
KPCKevin Powell - Community
Created by ME on 8/17/2023 in #front-end
Event doesn't work
On the code pen you have
.outer{
position: relative;
top:0;
left:0;
width: 12rem;
z-index: 1;
height: 12rem;
background: rgba(24,12,213,0.6);
/* pointer-events:none; */
}
.outer{
position: relative;
top:0;
left:0;
width: 12rem;
z-index: 1;
height: 12rem;
background: rgba(24,12,213,0.6);
/* pointer-events:none; */
}
removing the pointer-event: none will make it work, it is preventing the entire element and its children from being clickable or interactive.
10 replies