M
M
Maxim Korolsky2016-07-11 20:16:58
css
Maxim Korolsky, 2016-07-11 20:16:58

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

1 answer(s)
L
littleguga, 2016-07-11
@SuperPosan

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 question

Ask a Question

731 491 924 answers to any question