-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdxq.css
89 lines (85 loc) · 1.42 KB
/
dxq.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
*{
margin:0px;
padding:0px;
}
ul{
list-style:none;
}
body{
font-family:"微软字体";
color:pink;
}
.main{
width:900px;
height:300px;
margin:30px auto;
overflow:hidden;
position:relative;
}
.banner{
width:900px;
height:300px;
position:relative;
overflow:hidden;
}
.banner-slide{
width:900px;
height:300px;
position:absolute;
background-repeat:no-repeat;
overflow:hidden;
display:none;
}
.slide-active{
display:block;
}
.slide1{
background-image:url("u=50285601,202801954&fm=27&gp=0.jpg");
}
.slide2{
background-image:url("u=560188493,3345607544&fm=27&gp=0.jpg");
}
.slide3{
background-image:url("u=252004310,1910859620&fm=27&gp=0.jpg");
}
.button{
position:absolute;
width:50px;
height:80px;
left:244px;
top:50%;
margin-top:-40px;
background:url("11095761.png") no-repeat center center;
}
.button:hover{
background-color:gray;
opacity: 0.2
filter:alpha (opacity=20);
}
.prev{
transform:rotate(180deg);
}
.next{
left:auto;
right:0px;
}
.dots span{
width:12px;
height:12px;
border-radius:50%;
line-height:12px;
background:rgba(7,17,27,0.5);
display:inline-block;
margin-left:10px;
box-shadow:0 0 0 2px rgba(255,255,255,0.5) inset;
}
.dots{
position:absolute;
bottom:24px;
right:10px;
text-align:right;
cursor:pointer;
}
.dots span.active{
background:#fff;
}