From f8b5813e59db12a24f84cb705c70a31c39da7f38 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 10 Nov 2016 09:58:47 +0100 Subject: prevent flicker on hover --- css/reveal.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'css/reveal.scss') diff --git a/css/reveal.scss b/css/reveal.scss index c40211b..41d5744 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -299,6 +299,7 @@ body { transition: all 0.15s ease, background-color 0.8s ease; transform-origin: $thickness/2 50%; + will-change: transform; } button { @@ -453,9 +454,9 @@ body { content: ''; display: block; position: absolute; - height: 20px; + height: 10px; width: 100%; - top: -20px; + top: -10px; } .reveal .progress span { display: block; -- cgit v1.2.3