forked from dhananjaya-hbc/assignment-web-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstats.css
More file actions
66 lines (58 loc) · 1.17 KB
/
stats.css
File metadata and controls
66 lines (58 loc) · 1.17 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
.stat-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
}
.stat-card {
opacity: 0;
animation: fadeIn 0.5s ease-in forwards;
}
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeIn {
to {
opacity: 1;
}
}
/* Stats Section */
.stats {
padding: 50px 20px;
text-align: center;
background-color: #fff;
}
.stats h2 {
font-size: 32px;
margin-bottom: 30px;
color: #333;
}
.stats-grid {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}
.stat-card {
background-color: #fff;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
width: 200px;
text-align: center;
}
.stat-card .icon {
font-size: 40px;
color: #f5a623; /* Orange color to match the image */
margin-bottom: 10px;
}
.stat-card h3 {
font-size: 24px;
font-weight: bold;
color: #333;
margin-bottom: 5px;
}
.stat-card p {
font-size: 14px;
color: #666;
}