-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (63 loc) · 1.35 KB
/
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
61
62
63
64
65
66
67
68
69
.slider{
max-width: 241px;
border: 5px solid #1d1e1e;
margin: 50px auto;
position: relative;
overflow: hidden;
}
.slider .left-slide,.slider .right-slide{
position: absolute;
height: 10px;
width: 10px;
background-color: #444444;
border-radius: 50%;
color:#ffffff;
font-size: 20px;
top:50%;
cursor: pointer;
margin-top: -20px;
text-align: center;
line-height: 40px;
}
.slider .left-slide:hover,.slider .right-slide:hover{
box-shadow: 0px 0px 10px black;
background-color: #29a8e2;
}
.slider .left-slide{
left: 30px;
}
.slider .right-slide{
right: 30px;
}
.slider .slider-items .item img{
max-width: 100%;
display: block;
animation:zoom 1s ease;
}
@keyframes zoom{
0%{transform: scale(2);opacity: 0}
50%{transform: scale(2);}
100%{transform: scale(1);opacity:1}
}
.slider .slider-items .item{
display: none;
position: relative;
}
.slider .slider-items .item .caption{
width: 169%;
height: 201px;
bottom: 0px;
left: 0px;
background-color: rgba(0,0,0,.0);
line-height: 76px;
color: #ffffff;
font-size: 15px;
position: relative;
text-align: center;
}
.slider .slider-items .item.active{
display: block;
}
.html-mobile {
display: none;
}