0
I looked for all the ways to give hover one element and change another and some of them already knew and had tried but it wasn’t working, so I went looking for others and I tried everything #example:hover + #change, #example:hover ~ #change, #example:hover #change, etc but none of them worked. So I went for the easiest solution, jQuery, but he was bugging out when he applied the effects, sometimes applied other times not, tried to follow up with the normal css again. But I found no way!
HTML:
<div class="section">
<img id="thumbnail" src="img.png">
<h2 id="title"><center><span>Some title</span></center><h2>
</div>
CSS:
#thumbnail:hover #title {
font-size: 30px;
}
Do you want to hide the image by clicking a button? I’m in doubt, explain it to me better
– Stan
@Planetwar you read and saw the code? I’m trying to give Hover in img and change the
#title'-'– Pedro Pinto
I get it, one moment I’ll make the code
– Stan