Bild mit class-Zoom vergrößern |
![]() |
Quellcode |
<html> <head> <style type="text/css"> * {box-sizing: border-box;} .zoom {padding: 5px; background-color: transparent; transition: transform .2s; width: 200px; height: 200px; margin: 0 auto;} .zoom:hover { -ms-transform: scale(1.8); -webkit-transform: scale(1.8); transform: scale(1.8);} </style> </head> <body> <div class="zoom"><img src="../Bilder/HKhlogo.png" style="width: 100%;height:auto;" alt="diedVIPs" /></div> </body> </html> |