Ich habe viele der Lösungen aus ähnlichen Fragen versucht, aber sie scheinen nicht auf meiner Seite zu funktionieren. Dies ist der Code, den ich skalieren möchte. Noch eine dünne, unter dem GIF möchte ich 3 Boxen pro Reihe behalten, da es so aussieht, dass wenn ich zu einer größeren Fenstergröße gehe, eine der Boxen nach oben fährt.Wie kann ich diesen Code auf verschiedene Fenstergrößen skalieren?
<hmtl>
<body>
<style>
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
.item {
position: relative;
float:left;
border: 0px solid #333;
margin: 0%;
overflow: hidden;
width: 425px;
}
.item img {
max-width: 100%;
-moz-transition: all 1s;
-webkit-transition: all 1s;
transition: all 1s;
}
.item:hover img {
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
</style>
<div class=“main”>
<img src="http://i.imgur.com/PbeUJ56.gif” style="position:absolute; top:0; left:0;" alt=“DESCRIPTION” height=“1280” width=“645”/>
<img src="http://imgur.com/JBWbug1.png" style="position:absolute; top:0; left:0;" alt=“DESCRITPION” height=“2000” width=“720” alt="" usemap="#Map" /><map name="Map" id="Map">
<area alt="" title="" href="" shape="poly" coords="208,42,47,41,41,132,211,132" />
<area alt="" title="" href="" shape="poly" coords="467,73,467,98,654,99,654,74" />
<area alt="" title="" href=" shape="poly" coords="683,73,685,98,855,97,855,77" />
<area alt="" title="" href="" shape="poly" coords="883,71,883,97,986,96,986,77" />
<area alt="" title="" href="" shape="poly" coords="1007,69,1007,95,1092,95,1091,79"/>
<area alt="" title="" href="" shape="poly" coords="1122,71,1122,100,1230,99,1230,71" /> </map>
<div id="zoom">
<div class="item">
<a href=""><img src="http://imgur.com/jM0ivPh.png" alt="img">
</div>
<div class="item">
<a href=""><img src="http://imgur.com/zMVcoiJ.png" alt="img">
</div>
<div class="item">
<a href=""><img src="http://imgur.com/aVdSekS.png” alt="img" >
</div>
<div class="item">
<a href=""><img src="http://imgur.com/MKjyo1I.png” alt="img" >
</div>
<div class="item">
<a href=""><img src="http://imgur.com/tpYHlOP.png” alt="img" >
</div>
<div class="item">
<a href=""><img src="http://imgur.com/kzy9T7h.png” alt="img" >
</div>
</div>
</div>
<html>
<body>