Here is what I currently have:
a:link {
color: #A39B9E;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: #7E7E7E;
background-color: transparent;
text-decoration: none;
}
r {
font-size: 10px;
color: #7E7E7E;
}
.rotatingimg{transition: transform 2s;}
.rotatingimg:hover{transform:rotate(360deg);}
<table style="height: 20px; width: 100%;">
<tr>
<td style="width: 250px; text-align: left;"><img src="https://www.google.com/s2/favicons?domain=google.com" class="rotatingimg" style="align:right;width:15px;height:15px;border:0"> <a title="Google" href="google.nl" target="_blank">Google.nl</a></td>
</tr>
</table>
Currently, only the image rotates when I hover over it. However, I want the image to rotate when I hover over the link name instead.
Can someone please help me understand what I am doing wrong and how I can fix this?