From 1de159c4f4dd83118805499858b21b830428d9ce Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 26 Mar 2014 15:48:28 +0100 Subject: start work on video backgrounds #751 --- css/reveal.css | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'css/reveal.css') diff --git a/css/reveal.css b/css/reveal.css index 8e50653..9254414 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1344,6 +1344,17 @@ body { visibility: visible !important; } +/* Video backgrounds */ +.reveal .slide-background video { + position: absolute; + width: 100%; + height: 100%; + max-width: none; + max-height: none; + top: 0; + left: 0; +} + /* Immediate transition style */ .reveal[data-background-transition=none]>.backgrounds .slide-background, .reveal>.backgrounds .slide-background[data-background-transition=none] { -- cgit v1.2.3