works with video, defaults to (same as for images)
This commit is contained in:
parent
84090b882f
commit
941b86b6c3
4 changed files with 13 additions and 1 deletions
|
@ -865,7 +865,13 @@ body {
|
|||
max-width: none;
|
||||
max-height: none;
|
||||
top: 0;
|
||||
left: 0; }
|
||||
left: 0;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover; }
|
||||
|
||||
.reveal .slide-background[data-background-size="contain"] video {
|
||||
-o-object-fit: contain;
|
||||
object-fit: contain; }
|
||||
|
||||
/* Immediate transition style */
|
||||
.reveal[data-background-transition=none] > .backgrounds .slide-background,
|
||||
|
|
|
@ -898,7 +898,11 @@ body {
|
|||
max-height: none;
|
||||
top: 0;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
}
|
||||
.reveal .slide-background[data-background-size="contain"] video {
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
/* Immediate transition style */
|
||||
.reveal[data-background-transition=none]>.backgrounds .slide-background,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue