1
0
Fork 0

reset fragment transforms using 'none'

This commit is contained in:
Hakim El Hattab 2015-03-25 19:17:09 +01:00
parent e19931abab
commit bbfdb3b66e
2 changed files with 8 additions and 7 deletions

View File

@ -66,16 +66,17 @@ body {
-ms-transform: scale(0.1); -ms-transform: scale(0.1);
transform: scale(0.1); } transform: scale(0.1); }
.reveal .slides section .fragment.zoom-in.visible { .reveal .slides section .fragment.zoom-in.visible {
-webkit-transform: scale(1); -webkit-transform: none;
-ms-transform: scale(1); -ms-transform: none;
transform: scale(1); } transform: none; }
.reveal .slides section .fragment.roll-in { .reveal .slides section .fragment.roll-in {
-webkit-transform: rotateX(90deg); -webkit-transform: rotateX(90deg);
transform: rotateX(90deg); } transform: rotateX(90deg); }
.reveal .slides section .fragment.roll-in.visible { .reveal .slides section .fragment.roll-in.visible {
-webkit-transform: rotateX(0); -webkit-transform: none;
transform: rotateX(0); } -ms-transform: none;
transform: none; }
.reveal .slides section .fragment.fade-out { .reveal .slides section .fragment.fade-out {
opacity: 1; opacity: 1;

View File

@ -95,7 +95,7 @@ body {
transform: scale( 0.1 ); transform: scale( 0.1 );
&.visible { &.visible {
transform: scale( 1 ); transform: none;
} }
} }
@ -103,7 +103,7 @@ body {
transform: rotateX( 90deg ); transform: rotateX( 90deg );
&.visible { &.visible {
transform: rotateX( 0 ); transform: none;
} }
} }