-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainpage.css
58 lines (51 loc) · 1.05 KB
/
mainpage.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
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
}
#card-stack {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.card {
width: 300px; /* Fixed card width */
height: 400px; /* Fixed card height */
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
}
.card img {
width: 100%;
height: 70%; /* Adjust image height as needed */
object-fit: cover;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.info {
padding: 15px;
}
#prev-btn, #next-btn {
position: absolute;
bottom: 10px;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#prev-btn {
left: 10px;
background-color: #007bff;
color: #ffffff;
}
#next-btn {
right: 10px;
background-color: #28a745;
color: #ffffff;
}