Clean version of the new transitions.

This commit is contained in:
Leonardo Kewitz 2015-11-22 18:52:42 -02:00
parent d457b9270a
commit 2909440fde
2 changed files with 300 additions and 166 deletions

File diff suppressed because one or more lines are too long

View File

@ -138,50 +138,34 @@ html:-moz-full-screen-ancestor {
}
.reveal .slides section .fragment.fade-up {
opacity: 0;
transform: translate(0, 20%);
visibility: hidden;
&.visible {
opacity: 1;
transform: translate(0, 0);
visibility: visible;
}
}
.reveal .slides section .fragment.fade-down {
opacity: 0;
transform: translate(0, -20%);
visibility: hidden;
&.visible {
opacity: 1;
transform: translate(0, 0);
visibility: visible;
}
}
.reveal .slides section .fragment.fade-right {
opacity: 0;
transform: translate(-20%, 0);
visibility: hidden;
&.visible {
opacity: 1;
transform: translate(0, 0);
visibility: visible;
}
}
.reveal .slides section .fragment.fade-left {
opacity: 0;
transform: translate(20%, 0);
visibility: hidden;
&.visible {
opacity: 1;
transform: translate(0, 0);
visibility: visible;
}
}