* {
margin: 0;
padding: 0
}
html, body {
font-family: "Microsoft Yahei", Verdana, sans-serif;
}
ul, li {
list-style: none;
}
address, cite, dfn, em, var {
font-style: normal;
}
.zlbanner {
position: relative;
overflow: auto;
text-align: center;
width: 460px;
margin: 0 auto
}
.zlbanner .dots {
position: absolute;
height: 24px;
left: 0;
right: 0;
bottom: 18px;
z-index: 3;
}
.zlbanner .dots li {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 4px;
text-indent: -999em;
border: 2px solid #fff;
border-radius: 6px;
cursor: pointer;
opacity: .4;
-webkit-transition: background .3s, opacity .3s;
-moz-transition: background .3s, opacity .3s;
transition: background .3s, opacity .3s
}
.zlbanner .dots li.active {
background: #fff;
opacity: 1
}
.zlbanner .arrow {
position: absolute;
width: 20px;
height: 37px;
top: 50%;
margin-top: -18px;
overflow: hidden;
z-index: 2;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-ms-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
}
.zlbanner #al {
left: 15px
}
.zlbanner #ar {
right: 15px
}
.zlbanner ul {
z-index: 1;
width: 600%;
overflow: hidden;
}
.zlbanner ul .slider-item {
width: 460px;
float: left;
height: 345px;
position: relative;
overflow: hidden;
}
.zlbanner ul .slider-item .slider-title {
position: absolute;
left: 0;
bottom: 0px;
width: 430px;
height: 15px;
padding: 10px 15px;
text-align: left;
font-weight: bold;
color: #fff;
font-size: 14px;
background: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.9));
background: url(/themes/version/scripts/style/images/slider-info-bg.png) \9;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.zlbanner .progress {
position: absolute;
left: 0;
bottom: 0;
width: 15%;
min-height: 3px;
overflow: hidden;
z-index: 2;
background: #f60
}
/* .zlbanner, .zlbanner ul.pic , .zlbanner ul.pic> li,.zlbanner .pic img{width: 100%!important;}*/
@media screen and (max-width: 769px) {
.zlbanner {
width: 700px;
height: 360px;
}
.zlbanner img {
width: 700px;
float: left;
}
.zlbanner ul .slider-item .slider-title {
width: 680px;
}
.zlbanner ul .slider-item {
height: 360px;
}
}
@media screen and (max-width: 600px) {
.zlbanner {
width: 310px;
height: 200px;
}
.zlbanner img {
width: 310px;
float: left;
}
.zlbanner ul .slider-item .slider-title {
width: 280px;
}
.zlbanner ul .slider-item {
height: 200px;
}
}
@media screen and (max-width: 541px) {
.zlbanner {
width: 490px;
height: 280px;
}
.zlbanner img {
width: 490px;
float: left;
}
.zlbanner ul .slider-item .slider-title {
width: 460px;
}
.zlbanner ul .slider-item {
height: 280px;
}
}
@media screen and (max-width: 450px) {
.zlbanner {
width: 350px;
height: 200px;
}
.zlbanner img {
width: 350px;
float: left;
}
.zlbanner ul .slider-item .slider-title {
width: 320px;
}
.zlbanner ul .slider-item {
height: 200px;
}
}
@media screen and (max-width: 376px) {
.zlbanner {
width: 320px;
height: 195px;
}
.zlbanner img {
width: 320px;
float: left;
}
.zlbanner ul .slider-item .slider-title {
width: 290px;
}
.zlbanner ul .slider-item {
height: 195px;
}
}
@media screen and (max-width: 321px) {
.zlbanner {
width: 270px;
height: 164px;
}
.zlbanner img {
width: 270px;
float: left;
}
.zlbanner ul .slider-item .slider-title {
width: 240px;
}
.zlbanner ul .slider-item {
height: 164px;
}
}
@media screen and (max-width: 281px) {
.zlbanner {
width: 230px;
height: 164px;
}
.zlbanner img {
width: 230px;
float: left;
}
.zlbanner ul .slider-item .slider-title {
width: 200px;
}
.zlbanner ul .slider-item {
height: 164px;
}
}