Hallo allerseits
Erbitte Hilfe beim Zentrieren von Bildern beim Hovern, mittig von Gerät und nicht von Bilddatei ausgehend.
Was ich bisher habe, ist folgendes:
HTML
		
					
				<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>To hover image centered on Device</title>
    <style>
        center{
            margin-top: 100px;
        }
        .myzoomimg img{
            position: relative;
            transition: 1s;
        }
        .myzoomimg img:hover{
            z-index: 1;
            display: block;
            margin: 0 auto;
            transform: scale(1.6);
        }
    </style>
    </head>
    <body>
        <center>
            <div class="myzoomimg">
                <img src="pic1-600.jpg" width="30%" height="300px"> 
            </div>
        </center>
    </body>
</html>Vielen Dank im Voraus für jegliche Schützenhilfe.
Greez
Tamaleus
 
		