Scenes
var scenes = {
"mountain": "mountain.svg",
"sea": "sea.png"
}"scene mountain""scene #fff"
"scene rgb(0,0,0)"
"scene url('img/scenes/mountain.svg')"Animations
"scene mountain with fadeIn"Last updated
Was this helpful?
var scenes = {
"mountain": "mountain.svg",
"sea": "sea.png"
}"scene mountain""scene #fff"
"scene rgb(0,0,0)"
"scene url('img/scenes/mountain.svg')""scene mountain with fadeIn"Last updated
Was this helpful?
Was this helpful?
.ken-burn {
animation-name: ken-burns; /* Name of the animation to use */
animation-duration: 30s;
animation-iteration-count: infinite; /* 1 if it should only move once */
animation-timing-function: ease;
animation-fill-mode: forwards;
animation-delay: 0s;
-moz-transition: ease 1s all;
-o-transition: ease 1s all;
-webkit-transition: ease 1s all;
transition: ease 1s all;
}
@keyframes ken-burns {
0% {
-webkit-transform: translateX(0);
}
50% {
-webkit-transform: translateX(-500px);
}
100% {
-webkit-transform: translateX(0px);
}
}"scene mountain with ken-burn"