轮播图--使用原生js的轮播图
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>轮播图-不用jquery</title> <style> *{ padding:0; margin:0; } .view{ width: 1000px; height: 600px; margin: 0px auto; margin-top:30px; position: relative; } .view > ul{ list-style: none; width: 100%; height: 100%; transform: rotate3d(1,1,0,0deg); transform-style: preserve-3d; } .view > ul > li{ width: 20%; float: left; height: 100%; position: relative; transform-style: preserve-3d; transition: transform ; transition-duration: 0.5s; } .view > ul > li > span{ display: block; width: 100%; height: 100%; position: absolute; left: 0; top