forked from DIYgod/jCarrousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
carrousel.css
executable file
·93 lines (78 loc) · 1.49 KB
/
carrousel.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
90
91
92
93
.banner {
position: relative;
height: 180px;
padding: 11px 0 16px;
margin: 0 auto;
text-align: center;
}
.dg-container {
position: relative;
width: 100%;
height: 180px;
}
.dg-wrapper {
width: 700px;
height: 180px;
margin: 0 auto;
position: relative;
transform-style: preserve-3d;
perspective: 1000px;
}
.dg-wrapper a {
width: 100%;
height: 180px;
display: block;
position: absolute;
left: 0;
top: 0;
}
.dg-wrapper a:first-child {
z-index: 2;
}
.dg-wrapper a img {
display: block;
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.20);
border-radius: 4px;
width: 100%;
height: 180px;
background: #fff;
}
.dg-wrapper a.dg-transition {
transition: all 0.5s ease-in-out;
}
.dg-wrapper a.dg-transition-fast {
transition: all 0.2s linear;
}
.dg-wrapper a.dg-transition-ease {
transition: all 0.2s ease;
}
.dg-container nav {
display: none;
}
.dg-container nav span:hover {
opacity: 1;
}
.dg-container nav span.dg-next {
background-position: top right;
margin-left: 10px;
}
.dg-container #lightButton2 {
bottom: 20px;
}
.dg-container .button {
position: relative;
z-index: 5;
}
.dg-container .button li {
cursor: pointer;
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
margin-right: 5px;
background: rgba(255, 255, 255, 0.30);
border: 1px solid rgba(0, 0, 0, 0.20);
}
.dg-container .button .light {
background: #01BDFF;
}