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:
@@ -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] {
|
||||
|
Reference in New Issue
Block a user