Added parallax scrolling background
This commit is contained in:
@ -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
Reference in New Issue
Block a user