So, I have some images that I smoothly zoom in on the mouse. It looks great, but I noticed that the other images next to it are something like moving around to accommodate more or less space when resizing. I want them to just stay in their place. Here is the code:
img { width:130; height:130; margin:15px; background-color:transparent; background-size:100%; -webkit-transition: all 1s ease; -o-transition: all 1s ease; -moz-transition: all 1s ease; } img:hover { width:150; height:150; margin-left: 0px; margin-right:0px; margin-top:0px; }
source share