0
I have an image in an img and I want to put a black background on it, for the image to be dark, I will use this in a :Hover, I already put a div on it with black background.
background-color: rgba(0, 0, 0, 0.5)
but nothing appears.
0
I have an image in an img and I want to put a black background on it, for the image to be dark, I will use this in a :Hover, I already put a div on it with black background.
background-color: rgba(0, 0, 0, 0.5)
but nothing appears.
Browser other questions tagged html css html5
You are not signed in. Login or sign up in order to post.
Take a look at my answer, that’s exactly what you need https://answall.com/questions/222088/nome-sobre-a-imagem-quando-mouse-passa-css/222122#222122
– Bsalvo
@If it is exactly the same thing, you can signal as duplicate.
– Woss
It is not the same thing, the text appears on the image, that part I know how to do, but the background does not appear, if I take the image it appears.
– Caymmi