Write the carousel, the whim want to add a mask effect, it is of course with Box-reflect attribute, but goose, but was Overflow:hidden pit ....
Write the effect is not come out, too capricious have wood, code is correct, also did not error, but out of the effect is certainly for a reason, the original is the hand to pack the picture of Li label added a overflow:hidden, is drunk haha haha, remove on good, on the code:
<! DOCTYPE html>
<meta charset= "UTF-8" >
<title></title>
<style type= "Text/css" >
*{margin:0;padding:0}
html,body{width:100%;height:100%;}
Body{background:url (img1/pic6.jpg) no-repeat; Background-size:cover}
ul{width:200px;height:300px; position:absolute; Top:0;right:0;left:0;bottom:0;margin:auto ;
transform-style:preserve-3d; transition:all 50s; Animation:move 5s ease-in-out Infinite;}
ul li{list-style:none;width:180px;height:260px; position:absolute;left:0;top:0;/*overflow:hidden;*/
}
ul Li img{width:100%;height:100%;
-webkit-box-reflect:below 10px linear-gradient (Rgba (255,255,255,0) 50%,rgba (255,255,255,0.7));
}
. img1{Transform:translatez (350px)}
. img2{Transform:rotatey (30deg) Translatez (360px);}
. img3{Transform:rotatey (60deg) Translatez (360px);}
. img4{Transform:rotatey (90deg) Translatez (360px);}
. img5{Transform:rotatey (120deg) Translatez (360px);}
. img6{Transform:rotatey (150deg) Translatez (360px);}
. img7{Transform:rotatey (180deg) Translatez (360px);}
. img8{Transform:rotatey (210deg) Translatez (360px);}
. img9{Transform:rotatey (240deg) Translatez (360px);}
. img10{Transform:rotatey (270deg) Translatez (360px);}
. img11{Transform:rotatey (300deg) Translatez (360px);}
. img12{Transform:rotatey (330deg) Translatez (360px);}
@-webkit-keyframes move{
from{Transform:rotate3d (0,0,1,45deg);}
to{Transform:rotate3d (1,2,1,1000deg);}
}
body:hover ul{Transform:rotatey (45deg);}
</style>
<body>
<ul>
<li class= "img1" ></li>
<li class= "Img2" ></li>
<li class= "IMG3" ></li>
<li class= "Img4" ></li>
<li class= "img5" ></li>
<li class= "Img6" ></li>
<li class= "Img7" ></li>
<li class= "Img8" ></li>
<li class= "img9" ></li>
<li class= "img10" ></li>
<li class= "img11" ></li>
<li class= "img12" ></li>
</ul>
<script type= "Text/javascript" >
//var TZ = Math.Round ((180/2)/Math.tan (MATH.PI/10));
//alert (TZ);
</script>
</body>
CSS3 Animation for Carousel