HTML CSS examples for CSS Widget:Hover Effect
Mouseover/hover effect
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> tr.S { background-color:Chartreuse; } tr.S:hover { background-color:yellow; } </style> <!-- w w w.j a v a2s .c om--> </head> <body> <table> <tbody> <tr class="S"> <td>Lorem i</td> </tr> </tbody> </table> </body> </html>