forked from FRXCZDev/my-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
61 lines (54 loc) · 1012 Bytes
/
styles.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
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(to right, #FF5F6D, #FFC371);
font-family: Arial, sans-serif;
}
.container {
text-align: center;
color: white;
}
h1 {
font-size: 3em;
}
.balloons {
display: flex;
justify-content: center;
margin: 20px 0;
}
.balloon {
width: 50px;
height: 70px;
background-color: #FF5F6D;
border-radius: 0 0 50px 50px;
margin: 0 10px;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
100% {
transform: translateY(0);
}
}
button {
background-color: #2ecc71;
color: white;
border: none;
padding: 10px 20px;
font-size: 1.2em;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #27ae60;
}