diff options
author | Hakim El Hattab | 2014-03-26 15:48:28 +0100 |
---|---|---|
committer | Hakim El Hattab | 2014-03-26 15:48:28 +0100 |
commit | 1de159c4f4dd83118805499858b21b830428d9ce (patch) | |
tree | 253578abef79509f5bc79e1ff6e19cb6860520e8 /css/reveal.css | |
parent | ccbeaf4c32a70cfd89c5af5c8c65b0b90f0c9252 (diff) |
start work on video backgrounds #751
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 11 |
1 files changed, 11 insertions, 0 deletions
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] { |