A
A
Aricus2021-07-01 16:17:20
css
Aricus, 2021-07-01 16:17:20

How to put a shadow on a link?

There are two blocks. One is a link, the other is a shadow.
codepen example
We want the shadow to overlay the box (as in the example), but we also want the shaded part of the link to work. How can I do that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Epikhin, 2021-07-01
@Aricus

Make a block with a shadowpointer-events:none

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question