-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathmain.css
More file actions
41 lines (38 loc) · 801 Bytes
/
main.css
File metadata and controls
41 lines (38 loc) · 801 Bytes
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
/* General Styles */
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(to right, #1e3c72, #2a5298);
color: white;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
/* Typography */
h1 {
font-size: 2.5rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Styling for the Welcome Text */
body::before {
content: 'Welcome to the HTML Portfolio Project';
font-size: 2rem;
font-weight: 600;
display: block;
animation: fadeIn 1.5s ease-in-out;
}