1
I’d like to create a div
, containing a block of text and an image, and the image needs to cover the text, while passing the mouse on the image, the image will make it semi transparent, thus showing the text that is underneath it
Something like
<div>
<span>Meu texto de exemplo aqui</span>
<img src='www.imagem.com.br/imagem123.jpg' alt="" />
</div>
How would I do that in css
?
Post an example of what you did, and what’s happening so we can help you better.
– haykou
Some examples of Hover with CSS: with animation or popup | sprite
– Bacco