diff options
author | Leonardo Kewitz | 2015-11-22 18:34:25 -0200 |
---|---|---|
committer | Leonardo Kewitz | 2015-11-22 18:34:25 -0200 |
commit | d457b9270a015f7c5393066d0d58c185ca8e59e7 (patch) | |
tree | 8177d6cd3b252f7fd99a2c9dbe9f28f7b517e7d8 /css/reveal.scss | |
parent | bef2722eedd9671a9e0f0f9e553c0863437d1402 (diff) |
Added 4 fragment transitions effect.
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 50 |
1 files changed, 48 insertions, 2 deletions
diff --git a/css/reveal.scss b/css/reveal.scss index d932269..1cea73e 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -137,6 +137,54 @@ 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; + } +} + .reveal .slides section .fragment.current-visible { opacity: 0; visibility: hidden; @@ -1375,5 +1423,3 @@ html:-moz-full-screen-ancestor { .zoomed .reveal .roll span:after { visibility: hidden; } - - |