1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-29 17:30:09 +02:00

add , adds wrapper element around background images/videos/iframes

This commit is contained in:
Hakim El Hattab
2018-04-27 15:53:02 +02:00
parent de41f6cf50
commit 4ba0d73345
5 changed files with 57 additions and 31 deletions

View File

@@ -1091,11 +1091,18 @@ $controlsArrowAngleActive: 36deg;
overflow: hidden;
background-color: rgba( 0, 0, 0, 0 );
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
}
.reveal .slide-background-content {
position: absolute;
width: 100%;
height: 100%;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
}
.reveal .slide-background.stack {