Dude I don’t know if I understood what you wanted right, but as you put the CSS tag, I’ll give you a solution with nth-child(n) (n is the number of the order in which the div appears, as you have two div I used 1 and 2 in the example) you can make a style part for each div with class lis-fil
Both Form begin occult with display:none, but when passing the mouse over the respective div the Form appears.
Note that in the classes div.lis-fil form and div.lis-fil:hover form i make styles that are common to all div.lis-fil. Then using div.lis-fil:nth-child(1):hover form I put the particular style of each of the div, in case only change the text color for each div in this example.
div.lis-fil form{
display: none;
}
div.lis-fil:hover form{
font-size: 1.5rem;
font-family: sans-serif;
font-weight: bold;
display: block;
}
div.lis-fil:nth-child(1):hover form{
color:red;
}
div.lis-fil:nth-child(2):hover form{
color:blue;
}
<div class="lis-fil">
<a href="jumanji-bem-vindo-a-selva.php"><img src="http://placecage.com/50/50" class="fil-lis"></a>
<form action="">form1 lis-fil </form>
</div>
<div class="lis-fil">
<a href="no-olho-do-furacao.php"><img src="http://placecage.com/51/50" class="fil-lis"></a>
<form action="">form2 lis-fil </form>
</div>
<div class="lis-fil">
<a href="no-olho-do-furacao.php"><img src="http://placecage.com/52/50" class="fil-lis"></a>
<form action="">form3 sem classe nth-child(n) </form>
</div>
Do you use pure javascript or some library to help your page’s DOM interaction ? Such as Jquery.
– ElvisP