Create Swipercomponent.css
Browse files- Swipercomponent.css +48 -0
Swipercomponent.css
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.swiper-container {
|
2 |
+
width: 100%;
|
3 |
+
padding-top: 20px;
|
4 |
+
padding-bottom: 20px;
|
5 |
+
}
|
6 |
+
|
7 |
+
.swiper {
|
8 |
+
width: 80%;
|
9 |
+
max-width: 600px;
|
10 |
+
}
|
11 |
+
|
12 |
+
.swiper-slide {
|
13 |
+
display: flex;
|
14 |
+
flex-direction: column;
|
15 |
+
align-items: center;
|
16 |
+
justify-content: center;
|
17 |
+
background: #fff;
|
18 |
+
border-radius: 10px;
|
19 |
+
padding: 20px;
|
20 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
21 |
+
}
|
22 |
+
|
23 |
+
.avatar-image {
|
24 |
+
width: 150px;
|
25 |
+
height: 150px;
|
26 |
+
object-fit: contain;
|
27 |
+
}
|
28 |
+
|
29 |
+
.avatar-info {
|
30 |
+
text-align: center;
|
31 |
+
margin-top: 10px;
|
32 |
+
}
|
33 |
+
|
34 |
+
h3 {
|
35 |
+
font-size: 20px;
|
36 |
+
margin: 5px 0;
|
37 |
+
}
|
38 |
+
|
39 |
+
p {
|
40 |
+
font-size: 14px;
|
41 |
+
color: #666;
|
42 |
+
}
|
43 |
+
|
44 |
+
em {
|
45 |
+
font-size: 14px;
|
46 |
+
font-style: italic;
|
47 |
+
color: #444;
|
48 |
+
}
|