3D的图片轮播效果很炫,写到这里只是为了不丢代码,不为别的。
效果预览:
html代码:
js实现3D图片逐张轮播幻灯片 ul#bcty365_nav{padding-left:50px; margin-bottom:10px; border-bottom:2px solid #ccc; overflow:hidden; _zoom:1;} ul#bcty365_nav li{float:left; display:inline; margin:10px;} ul#bcty365_nav li a{display:block;color:#000000; font-size:16px;} ul#bcty365_nav li a,#wimoban_p,#wimoban_p a{ font-family:"微软雅黑";} ul#bcty365_nav li a:hover,#wimoban_p a:hover{color:red;} *{margin:0;padding:0;list-style-type:none;} a,img{border:0;} body{font:12px/180% Arial, Helvetica, sans-serif,"新宋体";} #focus_Box{position:relative;width:710px;height:500px;margin:20px auto;} #focus_Box ul{position:relative;width:710px;height:500px} #focus_Box li{z-index:0;position:absolute; width:0px;background:#787878;height:0px;top:146px;cursor:pointer;left:377px;border-radius:4px;box-shadow:1px 1px 12px rgba(200, 200, 200, 1)} #focus_Box li img{width:100%;background:url(../img/3D轮播效果/loading.gif) no-repeat center 50%;height:100%;vertical-align:top} #focus_Box li p{position:absolute;left:0;bottom:0px;width:100%;height:40px;line-height:40px;background:url(images/float-bg.png) repeat;text-indent:8px;color:#fff;} #focus_Box li p span{display:inline-block;width:70%;height:40px;overflow:hidden;} #focus_Box .prev,#focus_Box .next{display:block;z-index:100;overflow:hidden;cursor:pointer;position:absolute;width:52px;height:52px;top:131px;} #focus_Box .prev:hover{background-position:left top;} #focus_Box .next:hover{background-position:right top;}


