-
Notifications
You must be signed in to change notification settings - Fork 76
/
slide-swipe.css
162 lines (125 loc) · 2.9 KB
/
slide-swipe.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
.swiper {
width: auto;
height: 100vh;
}
.swiper .swiper-slide{
box-shadow: 15px 15px 118px 0px rgba(30,30,43,0.3) inset;
-webkit-box-shadow: 15px 15px 118px 0px rgba(30,30,43,0.3) inset;
-moz-box-shadow: 15px 15px 118px 0px rgba(30,30,43,0.3) inset;
}
.swiper .swiper-slide h2{
font-size: 6rem;
color: white;
font-family: 'gabo-drive-regular', sans-serif;
font-weight: 1000;
text-align: left;
}
.swiper .swiper-slide p{
color: white;
text-align: left;
line-height: 90%;
font-family: cursive;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background-size: cover;
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.title span {
font-size: 100px;
color: white;
font-weight: bolder;
text-align: left;
}
.title p {
color: white;
font-size: 20px;
margin-top: -30px;
}
.card-container {
position: absolute;
z-index: 2;
height: 450px;
width: 750px;
overflow: hidden;
margin: 150px 10px 30px 700px;
/* top | right | bottom | left */
}
.card-container .swiper-slide {
background-position: center;
background-size: cover;
border-radius: 20px;
filter: blur(2px)
}
.card-container .swiper-slide-active{
filter: blur(0px)
}
.swiper-button-prev, .swiper-button-next {
z-index: 999;
position: absolute;
}
.btn-gradient{
border: #67cc9e 2px solid ;
border-radius: 10px;
box-sizing: border-box;
color: #67cc9e;
display: block;
font: 1.125rem 'Oswald', Arial, sans-serif; /*18*/
height: 40px;
letter-spacing: 1px;
margin: 0 auto;
padding: 1.5px;
position: relative;
text-decoration: none;
text-transform: uppercase;
width: 100px;
z-index: 2;
}
.btn-gradient:hover {
color: #fff;
}
.btn-gradient span {
align-items: center;
background: transparent;
border-radius: 10px;
display: flex;
justify-content: center;
height: 100%;
transition: background .5s ease;
width: 100%;
}
.btn-gradient:hover span {
/* background: red; */
background-color: #0499f2;
background-image: linear-gradient(315deg, #0499f2 0%, #26f596 74%);
}
.card-title{
display: flex;
justify-content: center;
color: white;
flex-wrap: wrap;
}
.card-info{
margin-top: 220px;
}
@media only screen and (max-width: 600px) {
.card-container{
margin: 150px 10px 30px -150px;
/* top | right | bottom | left */
}
.swiper .swiper-slide p,h2{
display: none;
}
}