-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
60 lines (52 loc) · 828 Bytes
/
style.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
* {
margin: 0;
padding: 0;
vertical-align: bottom;
box-sizing: border-box;
}
.slider {
position: relative;
width: 100%;
margin: 0 auto;
}
.slider_content {
position: relative;
width: 700px;
height: 467px;
margin: 0 auto;
overflow: hidden;
border: 1px solid #ccc;
}
.slider_container {
position: absolute;
left: 0;
width: 700px;
height: 467px;
transform: translateX(0);
transition-duration: .5s;
}
.slider_img {
position: absolute;
top: 0;
}
.slider_controll {
position: relative;
bottom: -20px;
text-align: center;
font-size: 0;
}
.dots {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 15px;
border-radius: 50%;
background-color: #999;
}
.dots:hover {
cursor: pointer;
}
.current {
border: 1px solid #08c;
background-color: transparent;
}