<title>VIP Сайт</title>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #ff6ec4, #7873f5);
font-family: 'Segoe UI', sans-serif;
overflow: hidden;
}
/* Glass effect box */
.box {
text-align: center;
padding: 40px;
border-radius: 20px;
backdrop-filter: blur(15px);
background: rgba(255,255,255,0.15);
box-shadow: 0 8px 30px rgba(0,0,0,0.2);
color: white;
animation: fadeIn 1s ease;
}
h1 {
font-size: 28px;
margin-bottom: 20px;
}
/* Buttons */
button {
padding: 12px 25px;
font-size: 18px;
border: none;
border-radius: 12px;
cursor: pointer;
margin: 10px;
transition: 0.3s;
}
/* YES button */
.yes {
background: linear-gradient(45deg, #00ff87, #60efff);
color: black;
}
.yes:hover {
transform: scale(1.1);
}
/* NO button */
.no {
background: linear-gradient(45deg, #ff4e50, #f00000);
color: white;
position: absolute;
}
/* Animation */
@Keyframes fadeIn {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Floating hearts */
.heart {
position: absolute;
color: white;
animation: float 5s linear infinite;
font-size: 20px;
}
@Keyframes float {
from {
transform: translateY(100vh);
opacity: 1;
}
to {
transform: translateY(-10vh);
opacity: 0;
}
}
</style>
7 мамырға подарок керек па?
Иә
Жоқ
<script>
const noBtn = document.getElementById("noBtn");
// Қашатын кнопка
noBtn.addEventListener("mouseover", () => {
const x = Math.random() * (window.innerWidth - 100);
const y = Math.random() * (window.innerHeight - 50);
noBtn.style.left = x + "px";
noBtn.style.top = y + "px";
});
// Жүректер анимациясы
function createHeart() {
const heart = document.createElement("div");
heart.classList.add("heart");
heart.innerHTML = "❤️";
heart.style.left = Math.random() * 100 + "vw";
heart.style.fontSize = (15 + Math.random() * 20) + "px";
document.body.appendChild(heart);
setTimeout(() => {
heart.remove();
}, 5000);
}
setInterval(createHeart, 500);
</script>
7 мамырға подарок керек па?
Иә Жоқ