you can use transform: scale(1.2);
I made a simple example here, since there are many other things in your code, this should make it easier for future readers.
As others have noted, pay attention to image stretching.
ul {
padding: 0;
margin: 50px 20px;
list-style: none;
}
ul li {
margin: 5px;
display: inline-block;
}
ul li a {
padding: 5px;
display: inline-block;
}
ul li a img {
width: 125px;
height: 125px;
display: block;
}
ul li a:hover img {
transform: scale(1.2);
transition: transform 0.5s ease;
}
<ul>
<li><a href="#"><img src="http://aspublic.blob.core.windows.net/drupal-files/bubble_bobble.jpg"></a></li>
<li><a href="#"><img src="http://aspublic.blob.core.windows.net/drupal-files/bubble_bobble.jpg"></a></li>
<li><a href="#"><img src="http://aspublic.blob.core.windows.net/drupal-files/bubble_bobble.jpg"></a></li>
</ul>
Run codeHide result source
share