To fix "cursor: pointer" effect in CSS not working, we should set pointer-events
to auto
.
For instance, we write
.about > span {
cursor: pointer;
pointer-events: auto;
}
to add pointer-events: auto;
to enable mouse events on the span.
Then we add cursor: pointer;
to set the cursor to a pointer.