Answer the question
In order to leave comments, you need to log in
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:
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 questionAsk a Question
731 491 924 answers to any question