-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslider-styles.css
More file actions
100 lines (81 loc) · 1.43 KB
/
slider-styles.css
File metadata and controls
100 lines (81 loc) · 1.43 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.slider-container {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
/* margin-top: 9.5rem; */
background-color: #f06c64;
border-bottom: solid 6px #ea676b;
height: 60rem;
}
.slider_wrap {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
overflow: hidden;
/* padding: 5rem 0 6rem; */
transition: all 1s;
}
.blue {
background-color: #648BF0;
border-bottom: solid 6px #648BF0;
transition: all 1s;
}
.slide {
display: none;
position: relative;
animation: 0.5s ease-in-out;
width: 100%;
}
.slide_active, .next {
display: block;
}
.arrow {
cursor: pointer;
/* padding: 0 4rem 0 4rem; */
}
.slide__number-one {
display: flex;
position: relative;
align-items: center;
justify-content: space-between;
}
.slide__number-two {
justify-content: space-around;
height: 100%;
background-size: auto;
}
.next {
position: absolute;
}
.to-left {
animation-name: left;
}
.from-right {
animation-name: right;
}
.to-right {
animation-name: right;
animation-direction: reverse;
}
.from-left {
animation-name: left;
animation-direction: reverse;
}
@keyframes left {
from {
left: 0;
}
to {
left: -100%;
}
}
@keyframes right {
from {
left: 100%;
}
to {
left: 0;
}
}