untitled-8637
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v9View latest version
Be My Valentine β€οΈ
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #ff9a9e, #fad0c4);
font-family: 'Comic Sans MS', cursive, sans-serif;
overflow: hidden;
}
.card {
background: white;
padding: 40px;
border-radius: 20px;
text-align: center;
box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
h1 {
color: #ff4d6d;
margin-bottom: 20px;
}
button {
padding: 12px 25px;
font-size: 18px;
border: none;
border-radius: 30px;
cursor: pointer;
margin: 10px;
transition: 0.3s;
}
#yes {
background: #ff4d6d;
color: white;
}
#yes:hover {
transform: scale(1.1);
}
#no {
background: #ccc;
position: absolute;
}
.hearts {
font-size: 30px;
animation: float 2s infinite ease-in-out;
}
@keyframes float {
0% { transform: translateY(0); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0); }
}