HTML CSS examples for CSS Widget:Hover to change
Change element CSS by hovering another
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .exemple:hover + .exemple2 .element {<!-- ww w . j a v a 2s .c om--> color:Chartreuse; } </style> </head> <body> <div class="exemple"> Lorem ips </div> <div class="exemple2"> Lorem ipsu <div class="element"> Lorem ips </div> </div> </body> </html>