Ich versuche hinzufügen Hover-Effekt zu Bild und ich habe ein Problem.Transformer Skala und Grenze Radius
In Firefox ist alles ok:
Aber in Chrome ist ein Problem:
Hier ist mein 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);
}
}
}
Sehen Sie Ihre '@ includes' Hilfe wäre. – Aer0