Hi I want to change the text opacity when hovering a image. I tried to use this but it doesn't work:
HTML:
<div class="text">
SOME TEXT
</div>
<img src="image1.jpg" class="first-image">
CSS:
.text {
opacity: 0;
}
.first-image:hover {
text.opacity: 1;
}