-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.css
69 lines (66 loc) · 1.49 KB
/
main.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
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #4facfe, #00f2fe, #43e97b, #f8ffae, #ff9a9e, #fbc2eb);
background-size: 400% 400%;
animation: gradient-animation 10s ease infinite;
color: white;
overflow: hidden;
}
@keyframes gradient-animation {
0% {
background-position: 0% 50%;
}
25% {
background-position: 50% 100%;
}
50% {
background-position: 100% 50%;
}
75% {
background-position: 50% 0%;
}
100% {
background-position: 0% 50%;
}
}
/* Optional Glow Effect Around the Page */
body:before {
content: "";
position: absolute;
top: -10%;
left: -10%;
width: 120%;
height: 120%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 80%);
animation: glow-animation 8s ease-in-out infinite;
pointer-events: none;
}
@keyframes glow-animation {
0% {
transform: scale(1);
opacity: 0.6;
}
50% {
transform: scale(1.1);
opacity: 0.8;
}
100% {
transform: scale(1);
opacity: 0.6;
}
}
.container{
background: rgba(0, 0, 0, 0.7);
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 20px;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
padding: 2rem;
text-align: center;
animation: border-glow 3s infinite alternate;
}