-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (75 loc) · 1.47 KB
/
style.css
File metadata and controls
89 lines (75 loc) · 1.47 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
body {
background: #000000;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: "Helvetica Neue", sans-serif;
}
.card {
position: relative;
width: 200px;
height: 300px;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.cards {
display: flex; /* flex layout */
flex-direction: row; /* row layout */
flex-wrap: wrap; /* allow wrapping to next row if overflow */
gap: 20px; /* spacing between cards */
justify-content: center; /* center cards horizontally */
align-items: flex-start; /* align cards at top */
}
.bg-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.blurred-layer {
position: absolute;
bottom: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: bottom;
filter: blur(10px);
z-index: 1;
mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
mask-size: 100% 100%;
mask-repeat: no-repeat;
-webkit-mask-image: linear-gradient(
to top,
rgba(0, 0, 0, 1),
rgba(0, 0, 0, 0)
);
-webkit-mask-size: 100% 100%;
-webkit-mask-repeat: no-repeat;
}
.content {
position: absolute;
bottom: 20px;
left: 20px;
color: white;
z-index: 2;
}
.content h3 {
font-size: 18px;
font-weight: bold;
margin-bottom: 6px;
}
.content p {
font-size: 14px;
color: #ddd;
line-height: 1.4;
}
.px-5{
justify-content:center;
padding:10px;
margin-left:490px;
background: #2c2c2cff;
border:none;
margin-bottom:20px;
}