This is the code:
HTML:
<img src="..." />
// other stuff
<div id="image">
<a href="" > bla bla bla </a>
<a href="" > ble ble ble </a>
</div>
CSS:
#image a:hover{color:green;}
I want this:
When the user put mouse over the image, then all the links in the div with id "image" become green ( like if the user put the mouse over the links. ).
If possible I prefer to do this with only CSS.
img:hover + #image a {
color: green;
text-decoration: none;
}
http://jsfiddle.net/Tzpmd/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With