Answer the question
In order to leave comments, you need to log in
How to determine the element that was clicked?
I have a nesting li > a > i
When I click constantly I get on different elements, I don’t put it on each event.
Can this be done with css?
It is desirable that the click falls on li
Answer the question
In order to leave comments, you need to log in
You can put a and i
pointer-events none
Here is a demo: https://jsfiddle.net/littleguga/78fvbrx5/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question