/
jquery.rotation.css
64 lines (64 loc) · 1015 Bytes
/
jquery.rotation.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
.rotation-container {
position: relative;
width: 80%;
height: 350px;
margin: 0 auto;
}
.rotation-container ul {
list-style-type: none;
padding: 0;
}
.rotation-viewport {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 350px;
overflow: hidden;
}
.rotation-list {
margin: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.rotation-list li {
position: absolute;
margin: 0;
line-height: 1.4em;
clear: none;
height: 100%;
width: 100%;
}
.rotation-nav-controls .rotation-item {
position: absolute;
z-index: 1000;
bottom: 2%;
width: 5%;
}
.rotation-nav-controls .rotation-prev {
left: 5%;
}
.rotation-nav-controls .rotation-next {
right: 5%;
}
.rotation-pagination {
position: absolute;
padding: 0;
z-index: 1000;
left: 10%;
bottom: 0;
text-align: center;
width: 80%;
}
.rotation-pagination li {
display: inline-block;
margin: 6px;
}
.rotation-pagination li a {
display: block;
width: 100%;
height: 100%;
}