I try add hover effect to image and I have a problem.
In Firefox all is ok:
But in Chrome is a problem:
Here is my code:
<div class="photo">
<img src="images/photo.jpg" alt="">
</div>
.photo {
width: 200px;
height: 200px;
border: 10px solid $white-color;
overflow: hidden;
position: absolute;
bottom: -50px;
left: calc(50% - 110px);
@include border-radius(50%);
img {
max-width: 100%;
height: auto;
@include scale(1);
@include transition(.3s ease-in-out);
&:hover {
@include scale(1.2);
}
}
}