diff options
author | Hakim El Hattab | 2016-01-08 10:39:02 +0100 |
---|---|---|
committer | Hakim El Hattab | 2016-01-08 10:39:02 +0100 |
commit | 76faeccd3e50026037ddb13497fd244e52ac51fd (patch) | |
tree | c4188293d187417991b1dc457153361b669f4250 /css/reveal.scss | |
parent | 3bb7cf528cfaa224b5b7c6fedacec2468eb951c3 (diff) | |
parent | 2909440fde651af3a2477d0b569d3b43ba64ca6e (diff) |
Merge branch 'fragments' of https://github.com/kewitz/reveal.js into dev
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/css/reveal.scss b/css/reveal.scss index eb600ac..5a66671 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -137,6 +137,38 @@ html:-moz-full-screen-ancestor { } } +.reveal .slides section .fragment.fade-up { + transform: translate(0, 20%); + + &.visible { + transform: translate(0, 0); + } +} + +.reveal .slides section .fragment.fade-down { + transform: translate(0, -20%); + + &.visible { + transform: translate(0, 0); + } +} + +.reveal .slides section .fragment.fade-right { + transform: translate(-20%, 0); + + &.visible { + transform: translate(0, 0); + } +} + +.reveal .slides section .fragment.fade-left { + transform: translate(20%, 0); + + &.visible { + transform: translate(0, 0); + } +} + .reveal .slides section .fragment.current-visible { opacity: 0; visibility: hidden; @@ -1375,5 +1407,3 @@ html:-moz-full-screen-ancestor { .zoomed .reveal .roll span:after { visibility: hidden; } - - |