From be87adcdf8227fce0152e575c240d774408c38a3 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 13 Jun 2018 14:12:25 +0200 Subject: [PATCH] rename new fragment style --- README.md | 2 +- css/reveal.css | 6 +++--- css/reveal.scss | 2 +- demo.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7a570d5..8db54c8 100644 --- a/README.md +++ b/README.md @@ -768,7 +768,7 @@ The default fragment style is to start out invisible and fade in. This style can

fade-out

fade-up (also down, left and right!)

fades in, then out when we move to the next step

-

fades in, then 50% out when we move to the next step

+

fades in, then obfuscate when we move to the next step

blue only once

highlight-red

highlight-green

diff --git a/css/reveal.css b/css/reveal.css index 04b704d..d937704 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -136,13 +136,13 @@ body { opacity: 1; visibility: inherit; } -.reveal .slides section .fragment.fade-in-then-half-out { +.reveal .slides section .fragment.fade-in-then-semi-out { opacity: 0; visibility: hidden; } - .reveal .slides section .fragment.fade-in-then-half-out.visible { + .reveal .slides section .fragment.fade-in-then-semi-out.visible { opacity: 0.5; visibility: inherit; } - .reveal .slides section .fragment.fade-in-then-half-out.current-fragment { + .reveal .slides section .fragment.fade-in-then-semi-out.current-fragment { opacity: 1; visibility: inherit; } diff --git a/css/reveal.scss b/css/reveal.scss index 7e2701b..80798d3 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -171,7 +171,7 @@ body { } } -.reveal .slides section .fragment.fade-in-then-half-out { +.reveal .slides section .fragment.fade-in-then-semi-out { opacity: 0; visibility: hidden; diff --git a/demo.html b/demo.html index df87fb2..8aa4aba 100644 --- a/demo.html +++ b/demo.html @@ -146,7 +146,7 @@ left

fade-in-then-out

-

fade-in-then-half-out

+

fade-in-then-semi-out

Highlight red blue green