HTML CSS examples for CSS Widget:Table Row
Resize image on table row hover
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> tr:hover .bigpic { width:46px; height:56px; } .bigpic {<!--from w ww .j av a2 s .c o m--> position:absolute; top:0px; left:0px; width:21px; height:21px; } </style> </head> <body> <table> <tbody> <tr class="row"> <td> <div style="position:relative;width:20px;height:20px;"> <img class="bigpic" src="https://www.java2s.com/style/demo/Safari.png"> </div> </td> <td>Lorem ipsum</td> <td>Lorem ipsum</td> <td>Lorem ipsum</td> </tr> </tbody> </table> </body> </html>