1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-01 12:20:33 +02:00

start work on video backgrounds #751

This commit is contained in:
Hakim El Hattab
2014-03-26 15:48:28 +01:00
parent ccbeaf4c32
commit 1de159c4f4
4 changed files with 40 additions and 6 deletions

View File

@@ -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] {