Added parallax scrolling background
This commit is contained in:
parent
79340908f4
commit
2b5c06c4ef
7 changed files with 119 additions and 5 deletions
|
@ -1402,6 +1402,30 @@ body {
|
|||
float: right
|
||||
}
|
||||
|
||||
/*********************************************
|
||||
* PARALLAX BACKGROUND
|
||||
*********************************************/
|
||||
.reveal[data-parallax-background] {
|
||||
-webkit-transition: all 0.8s ease;
|
||||
-moz-transition: all 0.8s ease;
|
||||
-ms-transition: all 0.8s ease;
|
||||
transition: all 0.8s ease;
|
||||
}
|
||||
|
||||
/* Global transition speed settings */
|
||||
.reveal[data-parallax-background][data-transition-speed="fast"] {
|
||||
-webkit-transition-duration: 400ms;
|
||||
-moz-transition-duration: 400ms;
|
||||
-ms-transition-duration: 400ms;
|
||||
transition-duration: 400ms;
|
||||
}
|
||||
.reveal[data-parallax-background][data-transition-speed="slow"] {
|
||||
-webkit-transition-duration: 1200ms;
|
||||
-moz-transition-duration: 1200ms;
|
||||
-ms-transition-duration: 1200ms;
|
||||
transition-duration: 1200ms;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************
|
||||
* LINK PREVIEW OVERLAY
|
||||
|
|
2
css/reveal.min.css
vendored
2
css/reveal.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue