-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.css
More file actions
105 lines (92 loc) · 1.78 KB
/
Copy pathtest.css
File metadata and controls
105 lines (92 loc) · 1.78 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
*{
margin: 0;
padding: 0;
list-style: none;
}
body{
background-color: darkgray;
}
.wrapper{
margin: 100px auto;
width: 720px;
height: 412px;
overflow: hidden;
position: relative;
}
.wrapper .box{
width: 400%;
position: absolute;
left: 0;
top: 0;
transition: left 1s;
}
.box ul li{
float: left;
}
.box img{
width: 720px;
height: 410px;
}
.wrapper .next{
width: 0;
height: 0;
position: absolute;
z-index: 99;
right: -17px;
top: 185px;
border: 30px solid rgba(200,200,200,0.4);
border-right-color: transparent;
border-top-color: transparent;
border-bottom-color: transparent;
cursor: pointer;
}
.wrapper .next::hover{
border: 30px solid rgba(200,200,200,0.9);
border-right-color: transparent;
border-top-color: transparent;
border-bottom-color: transparent;
cursor: pointer;
}
.wrapper .last{
width: 0px;
height: 0px;
position: absolute;
z-index: 99;
left: -17px;
top: 185px;
border: 30px solid rgba(200,200,200,0.4);
border-left-color:transparent;
border-top-color: transparent;
border-bottom-color: transparent;
}
.wrapper .last::hover{
order: 30px solid rgba(200,200,200,0.9);
border-left-color:transparent;
border-top-color: transparent;
border-bottom-color: transparent;
cursor: pointer;
}
.wrapper .dot{
width: 400px;
height: 30px;
position: absolute;
top: 330px;
left: 295px;
line-height: 30px;
}
.wrapper .dot li{
width: 15px;
height: 15px;
background-color:rgba(200,200,200,0.4);
border: 2px solid #eee;
border-radius: 50%;
float: left;
margin-right: 20px;
cursor: pointer;
}
.wrapper .dot li:hover{
background-color:rgba(200,200,200,1);
}
.wrapper .dot .act{
background-color:rgba(200,200,200,0.8);
}