-
Notifications
You must be signed in to change notification settings - Fork 0
/
SVMCDESIGN.html
98 lines (89 loc) · 2.38 KB
/
SVMCDESIGN.html
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
<!DOCTYPE html>
<html lang="ro">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Crăciun Fericit</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
text-align: center;
background: black;
color: white;
overflow: hidden;
}
h1 {
font-size: 3rem;
margin: 20px 0;
}
h2 {
font-size: 1.5rem;
}
/* Artificii */
.firework {
position: absolute;
width: 10px;
height: 10px;
background-color: transparent;
border-radius: 50%;
animation: explode 1.5s ease-in-out infinite;
}
@keyframes explode {
0% {
transform: scale(0.5);
opacity: 1;
}
100% {
transform: scale(3);
opacity: 0;
}
}
/* Pozitii artificii */
.firework:nth-child(1) {
top: 20%;
left: 30%;
background-color: red;
animation-delay: 0s;
}
.firework:nth-child(2) {
top: 40%;
left: 50%;
background-color: yellow;
animation-delay: 0.5s;
}
.firework:nth-child(3) {
top: 30%;
left: 70%;
background-color: blue;
animation-delay: 1s;
}
/* Imagine Mos Craciun */
.santa {
width: 150px;
margin: 20px auto;
animation: float 3s infinite alternate;
}
@keyframes float {
from {
transform: translateY(0px);
}
to {
transform: translateY(-20px);
}
}
</style>
</head>
<body>
<!-- Mesaj principal -->
<h1>Crăciun Fericit!</h1>
<h2>Și un An Nou Fericit!</h2>
<h2>Vă urează SVMCDesign - Stoiculeasa Maria Veronica</h2>
<!-- Imagine Moș Crăciun -->
<img class="santa" src="mos_craciun.png" alt="Moș Crăciun">
<!-- Artificii -->
<div class="firework"></div>
<div class="firework"></div>
<div class="firework"></div>
</body>
</html>