-
Notifications
You must be signed in to change notification settings - Fork 2
/
about.css
95 lines (80 loc) · 1.46 KB
/
about.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.about-us {
background-color: #fff;
border-radius: 8px;
padding: 2rem;
width: 100%;
max-width: 600px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.about-us h2 {
font-size: 2.5rem;
color: #4285F4;
margin-bottom: 1rem;
opacity: 0;
animation: fade-in 1s forwards ease-in;
}
.about-us p {
font-size: 1.2rem;
color: #555;
margin-bottom: 2rem;
opacity: 0;
transform: translateY(20px);
animation: slide-up 1s forwards ease-in 0.5s;
}
.icons {
display: flex;
justify-content: space-around;
margin-top: 2rem;
}
.icon {
text-align: center;
}
.icon img {
width: 80px;
height: 80px;
margin-bottom: 0.5rem;
animation: bounce 2s infinite;
}
.icon p {
color: #333;
font-weight: bold;
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slide-up {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-10px);
}
60% {
transform: translateY(-5px);
}
}