-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
56 lines (55 loc) · 971 Bytes
/
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.rotate-carousel {
position: relative;
height: 300px;
overflow: hidden;
}
.rotate-carousel-wrapper {
position: absolute;
background: rgba(0,0,255,.1);
/*min-height: 100px;*/
/*overflow: hidden;*/
/*width: 5px;
height: 5px;*/
background: #000;
border-radius: 50%;
transform: translateX(-50%);
}
.rotate-carousel-nav {
transform: translate(-50%, -50%);
}
.rotate-carousel-nav {
position: absolute;
background: #ccc;
width: 50px;
height: 50px;
border-radius: 50%;
text-align: center;
}
.rotate-carousel-content {
display: none;
position: absolute;
width: 200px;
height: 100px;
background: #ccc;
top: -150px;
left: 0;
transform: translateX(-50%);
}
.rotate-carousel-content.active {
display: block;
}
.rotate-carousel-arrow {
position: absolute;
top: 160px;
}
.rotate-carousel-arrow-next {
right: 660px;
}
.rotate-carousel-arrow-prev {
left: 660px;
}