Fast Hover Slideshow
CSS3
HTML
<section>
<div class="hs-wrapper">
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/1.jpg" alt="image01"/>
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/2.jpg" alt="image02"/>
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/3.jpg" alt="image03"/>
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/4.jpg" alt="image04"/>
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/5.jpg" alt="image05"/>
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/6.jpg" alt="image06"/>
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/7.jpg" alt="image07"/>
<img src="http://tympanus.net/TipsTricks/FastHoverSlideshow/images/8.jpg" alt="image08"/>
<div class="hs-overlay">
<span>Summer <strong>2012</strong></span>
</div>
</div>
</section>
<a href="http://tympanus.net/codrops/2012/05/09/how-to-create-a-fast-hover-slideshow-with-css3/" target="_blank">отсюда</a>
CSS
.hs-wrapper{
width: 333px;
height: 500px;
position: relative;
margin: 0 auto;
overflow: hidden;
box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.hs-wrapper img{
top: 0px;
left: 0px;
position: absolute;
-webkit-animation: showMe 0.8s linear infinite 0s forwards;
-moz-animation: showMe 0.8s linear infinite 0s forwards;
-o-animation: showMe 0.8s linear infinite 0s forwards;
-ms-animation: showMe 0.8s linear infinite 0s forwards;
animation: showMe 0.8s linear infinite 0s forwards;
-webkit-animation-play-state: paused;
-moz-animation-play-state: paused;
-o-animation-play-state: paused;
-ms-animation-play-state: paused;
animation-play-state: paused;
}
.hs-wrapper img:nth-child(1){
z-index: 9;
}
.hs-wrapper img:nth-child(2){
-webkit-animation-delay: 0.1s;
-moz-animation-delay: 0.1s;
-o-animation-delay: 0.1s;
-ms-animation-delay: 0.1s;
animation-delay: 0.1s;
z-index: 8;
}
.hs-wrapper img:nth-child(3){
-webkit-animation-delay: 0.2s;
-moz-animation-delay: 0.2s;
-o-animation-delay: 0.2s;
-ms-animation-delay: 0.2s;
animation-delay: 0.2s;
z-index: 7;
}
.hs-wrapper img:nth-child(4){
-webkit-animation-delay: 0.3s;
-moz-animation-delay: 0.3s;
-o-animation-delay: 0.3s;
-ms-animation-delay: 0.3s;
animation-delay: 0.3s;
z-index: 6;
}
.hs-wrapper img:nth-child(5){
-webkit-animation-delay: 0.4s;
-moz-animation-delay: 0.4s;
-o-animation-delay: 0.4s;
-ms-animation-delay: 0.4s;
animation-delay: 0.4s;
z-index: 5;
}
.hs-wrapper img:nth-child(6){
-webkit-animation-delay: 0.5s;
-moz-animation-delay: 0.5s;
-o-animation-delay: 0.5s;
-ms-animation-delay: 0.5s;
animation-delay: 0.5s;
z-index: 4;
}
.hs-wrapper img:nth-child(7){
-webkit-animation-delay: 0.6s;
-moz-animation-delay: 0.6s;
-o-animation-delay: 0.6s;
-ms-nimation-delay: 1.6s;
animation-delay: 0.6s;
z-index: 3;
}
.hs-wrapper img:nth-child(8){
-webkit-animation-delay: 0.7s;
-moz-animation-delay: 0.7s;
-o-animation-delay: 0.7s;
-ms-animation-delay:...