F
F
fansik2020-04-14 15:52:28
css
fansik, 2020-04-14 15:52:28

How do I make a blackout effect when hovering over an image?

There is a code:
https://codepen.io/Kantarina/pen/VvWGZY

You need to add text on top of the picture like this:
5e95b0a5c98de137587212.png

When you hover over the picture, you need to darken it by 50%, but the text does not move so that.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question