@charset "utf-8"; /* css 重置 */ .bannerBox { position: relative; z-index: 10; } .fullSlide * { margin: 0; padding: 0; list-style: none; } .fullSlide img { border: 0; } .fullSlide a { text-decoration: none; color: #333; } /* 本例子css */ .fullSlide , .fullSlide .bd a { width: 100%; max-width: 100%; height: 10rem; } .fullSlide { height: 10rem; overflow: hidden; position: relative; } .fullSlide .bd a { display: block; text-align: center; text-decoration: none; font-size: 1rem; } .fullSlide .bd { position: relative; height: 100%; z-index: 0; } .fullSlide .bd li { zoom:1; vertical-align: middle; } .fullSlide .hd { position: absolute; top: 18.8rem; text-align: center; width: 100%; max-width: 100%; display: none; } .fullSlide .hd ul { overflow: hidden; zoom:1;float: left; width: 100%; max-width: 100%; } .fullSlide .hd ul li { width: 1rem; height: 0.3rem; cursor: pointer; margin-right: 0.3rem; background: #ccc; border-radius: 1rem; display: inline-block; } .fullSlide .hd ul li.on { background: #f55319; } .fullSlide .prev,.fullSlide .next { z-index: 1; display: block; width: 2rem; height: 2rem; top: 38%; position: absolute; background: url(/template/images/arrow.png) 0 0 no-repeat; background-size: auto 100%; filter: alpha(opacity=20); opacity: 0.2; } .fullSlide .prev { left: 1%; background-position: left 0; } .fullSlide .next { right: 1%; background-position: right 0; } .fullSlide .prev:hover, .fullSlide .next:hover { filter: alpha(opacity=50); opacity: 0.5; }