forked from github/CopilotForXcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJida
More file actions
118 lines (110 loc) · 3.66 KB
/
Copy pathJida
File metadata and controls
118 lines (110 loc) · 3.66 KB
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Para Jidany 💖</title>
<style>
/* Estilos generales */
body {
font-family: 'Arial', sans-serif;
background: url('https://source.unsplash.com/1600x900/?pink-flowers,gerbera') no-repeat center center/cover;
text-align: center;
color: white;
padding: 20px;
margin: 0;
}
.container {
max-width: 600px;
margin: 50px auto;
background: rgba(0, 0, 0, 0.7);
padding: 20px;
border-radius: 15px;
box-shadow: 0 0 15px rgba(255, 0, 127, 0.7);
position: relative;
}
h1 {
font-size: 28px;
color: #ff4d79;
}
p {
font-size: 18px;
}
video {
width: 100%;
border-radius: 10px;
margin-top: 10px;
}
.flowers {
position: absolute;
width: 100px;
top: -40px;
left: 50%;
transform: translateX(-50%);
}
.buttons {
margin-top: 20px;
}
button {
background: #ff4d79;
color: white;
border: none;
padding: 10px 20px;
font-size: 18px;
cursor: pointer;
margin: 5px;
border-radius: 5px;
transition: 0.3s;
}
button:hover {
background: #ff1a66;
}
#no {
position: absolute;
}
.floating-gerberas {
position: absolute;
width: 80px;
animation: float 5s infinite alternate ease-in-out;
}
@keyframes float {
from { transform: translateY(0px); }
to { transform: translateY(-20px); }
}
</style>
</head>
<body>
<div class="container">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/Gerbera_Daisy_Flowers.png" class="flowers">
<h1>💖 Jidany, mi amor 💖</h1>
<p>Desde el momento en que te conocí, supe que eres especial. 🌸</p>
<p>Hoy quiero preguntarte algo importante...</p>
<h2>¿Quieres ser mi San Valentín? ❤️</h2>
<!-- Video de amor -->
<video controls>
<source src="tu-video.mp4" type="video/mp4">
Tu navegador no soporta el video.
</video>
<!-- Botones -->
<div class="buttons">
<button onclick="aceptar()">¡Sí, mi amor! 💘</button>
<button id="no" onmouseover="moverBoton()">No... 😢</button>
</div>
</div>
<!-- Gerberas flotantes -->
<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/Gerbera_Daisy_Flowers.png" class="floating-gerberas" style="top: 10%; left: 10%;">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/Gerbera_Daisy_Flowers.png" class="floating-gerberas" style="top: 30%; right: 10%;">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/Gerbera_Daisy_Flowers.png" class="floating-gerberas" style="top: 60%; left: 20%;">
<script>
function aceptar() {
alert("¡Sabía que dirías que sí! 💖 ¡Te amo, Jidany!");
}
function moverBoton() {
let x = Math.random() * (window.innerWidth - 100);
let y = Math.random() * (window.innerHeight - 50);
document.getElementById("no").style.left = x + "px";
document.getElementById("no").style.top = y + "px";
}
</script>
</body>
</html>