reset fragment transforms using 'none'

edit
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);
transform: scale(0.1); }
.reveal .slides section .fragment.zoom-in.visible {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1); }
-webkit-transform: none;
-ms-transform: none;
transform: none; }
.reveal .slides section .fragment.roll-in {
-webkit-transform: rotateX(90deg);
transform: rotateX(90deg); }
.reveal .slides section .fragment.roll-in.visible {
-webkit-transform: rotateX(0);
transform: rotateX(0); }
-webkit-transform: none;
-ms-transform: none;
transform: none; }
.reveal .slides section .fragment.fade-out {
opacity: 1;

View File

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