forked from Papapashu/Brazzers-Carousel-Repo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathitem.carousel.css
More file actions
75 lines (75 loc) · 1.46 KB
/
item.carousel.css
File metadata and controls
75 lines (75 loc) · 1.46 KB
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
.item-carousel {
position: relative;
}
.item-carousel:after {
content: "";
display: table;
clear: both
}
.item-carousel img {
display: none;
top: 0;
left: 0
}
.item-carousel img:first-child {
display: block
}
.item-carousel .tmb-wrap {
position: absolute;
z-index: 2;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%
}
.item-carousel .tmb-wrap .tmb-wrap-table {
display: flex;
justify-content: space-evenly;
height: 100%;
width: 100%
}
.item-carousel .tmb-wrap .tmb-wrap-table div {
position: relative;
width: 100%;
transition: all .3s ease
}
.item-carousel .tmb-wrap .tmb-wrap-table div::after {
content: "";
background-color: #ccc;
left: 1px;
right: 1px;
top: 0;
position: absolute;
transition: background-color .3s ease-out;
height: 2px
}.item-carousel .tmb-wrap .tmb-wrap-table div.active::after {
background-color: #004f9c;
}
.item-carousel .tmb-wrap .tmb-wrap-table div:first-child:last-child {
border-color: transparent
}
.item-carousel .image-wrap {
height: 100%
}
.item-carousel .image-nav-wrap {
position: absolute;
bottom: 0;
display: flex;
flex-wrap: nowrap;
justify-content: center;
width: 100%;
z-index: 3
}
.item-carousel .image-nav-wrap div {
background-color: #ccc;
border-radius: 50%;
width: 8px;
height: 8px;
margin: 3px;
transition: background-color .3s ease-out
}
.item-carousel .image-nav-wrap div.active {
background-color: #004f9c
}