-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
154 lines (135 loc) · 2.6 KB
/
style.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
body{
font-family: dancing script, cursive;
text-align: center;
background: linear-gradient(to right, #8fa8d8, #e08bba);
}
.container{
margin: 50px auto;
max-width: 800px;
background-color: rgba(255, 255, 255, 0.2);
padding: 20px;
border-radius: 15px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
position: relative;
overflow: hidden;
animation: zoomIn 1s;
}
h1{
font-size: 3em;
margin-bottom: 20px;
animation: fadeInDown 1s;
}
p{
font-size: 1.5em;
}
.celebration{
font-size: 2em;
margin-bottom: 20px;
animation: fadeInUp 1s;
}
.balloons{
margin-top: 20px;
position: relative;
}
.balloon{
display: inline-block;
width: 50px;
height: 70px;
background-color: #ff4500;
border-radius: 50% 50% 25% 25%;
position: relative;
animation: float 3s ease-in-out infinite;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.balloon::after{
content: '';
display: block;
width: 2px;
height: 50px;
background-color: #000;
position: absolute;
bottom: -50px;
left: 50%;
transform: translateX(-50%);
}
.confetti{
position: absolute;
width: 10px;
height: 10px;
background-color: #FFD700;
top: 0;
left: 50%;
opacity: 0;
animation: fall 3s infinite;
}
.container > a{
list-style-type: none;
font-weight: 600;
font-size: 28px;
color: green;
}
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
100% {
transform: translateY(0);
}
}
@keyframes fall {
0% {
transform: translateY(-200px);
opacity: 1;
}
100% {
transform: translateY(800px);
opacity: 0;
}
}
@keyframes fadeInDown {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes zoomIn {
0% {
opacity: 0;
transform: scale(0.5);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.celebration-icon{
font-size: 4em;
color: #FFD700;
animation: spin 2s infinite linear;
margin-bottom: 20px;
}