FIX: use prefixes for CSS transform

This commit is contained in:
Régis Hanol 2014-12-29 18:08:56 +01:00
parent 7ca092da17
commit 0ce93f3b29
1 changed files with 9 additions and 4 deletions

View File

@ -647,12 +647,13 @@ button {
}
.mfp-zoom-in {
/* start state */
.mfp-content {
opacity: 0;
transition: all 0.2s ease-in-out;
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8);
}
@ -665,6 +666,8 @@ button {
&.mfp-ready {
.mfp-content {
opacity: 1;
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
&.mfp-bg {
@ -676,6 +679,8 @@ button {
&.mfp-removing {
.mfp-content {
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8);
opacity: 0;
}