D
D
DmitriySwan2018-01-27 15:47:53
css
DmitriySwan, 2018-01-27 15:47:53

Why is the button (tag a) not doing its job as a button?

I'm setting up a gallery, and the situation is that when hovering over the a tag, the cursor does not become "pointer" and nothing is clicked, but there is a link to the modal window. I roughly understand what the problem is, but I can not solve it.
My code: https://jsfiddle.net/eL7p0948/
(I circled the link with a red border)
(It clicks on the entire block with text, but can't get to the link)
Can it even make the whole block a link? Just the right way to do it...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shinso, 2018-01-27
@DmitriySwan

It is blocked from above by another block, this will solve the problem

.gallery__text {
    z-index: 1;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question