#slideshow {
position: relative;
height: 100vh;
overflow: hidden;
background: #000;
}
#slideshow img {
position: absolute;
min-width: 100%;
min-height: 100%;
height: auto;
-webkit-transition-property: opacity,-webkit-transform;
transition-property: opacity,-webkit-transform;
transition-property: transform,opacity;
transition-property: transform,opacity,-webkit-transform;
-webkit-transition-duration: 9s,4s;
transition-duration: 9s,4s;
-webkit-transform-origin: bottom left;
transform-origin: bottom left;
opacity: 0;
}
#slideshow img:nth-child(2n+1) {
-webkit-transform-origin: top right;
transform-origin: top right;
}
#slideshow img:nth-child(3n+1) {
-webkit-transform-origin: top left;
transform-origin: top left;
}
#slideshow img:nth-child(4n+1) {
-webkit-transform-origin: bottom right;
transform-origin: bottom right;
}
#slideshow img:firsh-child {
opacity: 1;
z-index: -1;
}
#slideshow .fx {
opacity: 1;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}