Clean version of the new transitions.
This commit is contained in:
parent
d457b9270a
commit
2909440fde
204
css/reveal.css
204
css/reveal.css
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user