-
Notifications
You must be signed in to change notification settings - Fork 177
/
slider.css
executable file
·66 lines (61 loc) · 1.35 KB
/
slider.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.banner .btn, .banner .dot {
-webkit-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
-moz-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
-ms-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
-o-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.banner .dots {
position: absolute;
left: 10px;
right: 0;
bottom: 20px;
}
.banner .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 .5s, opacity .5s;
-moz-transition: background .5s, opacity .5s;
transition: background .5s, opacity .5s;
}
.banner .dots li.active {
background: #fff;
opacity: 1;
}
.slider-arrow {
position: absolute;
top: 50%;
background: #cf0f32;
width: 45px;
height: 80px;
z-index: 5;
cursor: pointer;
}
.slider-arrow i {
position: absolute;
width: 8px;
height: 13px;
left: 50%;
top: 50%;
margin-left: -4px;
margin-top: -7px;
}
.slider-arrow.prev {
left: 0;
}
.slider-arrow.prev i {
background: url("../images/prev_arrow.png?__inline") no-repeat;
}
.slider-arrow.next {
right: 0;
}
.slider-arrow.next i {
background: url("../images/next_arrow.png?__inline") no-repeat;
}