This gift? It’s just a tiny token to say: You’re worthy of all the sparkle in the world. Go ahead, treat yourself—because you deserve every bit of joy you give to others. 🎉💖 And hey, let’s keep being each other’s ride-or-die squad for life!
P.S. If you ever need a pick-me-up, just remember: *You’re the main character of your story, and the plot is incredible. 📖✨
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Good Day Gift Card</title>
<style>
body {
margin: 0;
padding: 0;
font-family: 'Comic Sans MS', cursive, sans-serif;
background: linear-gradient(135deg, #ffe6f0, #fff0f5);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.gift-card {
width: 300px;
height: 400px;
perspective: 1000px;
position: relative;
}
.card-front,
.card-back {
width: 100%;
height: 100%;
position: absolute;
backface-visibility: hidden;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 20px;
transition: transform 0.6s;
}
.card-front {
background: linear-gradient(145deg, #ff9a9e, #fad0c4);
color: #fff;
}
.card-back {
background: #fff;
color: #333;
transform: rotateY(180deg);
}
.card-front h1 {
font-size: 24px;
margin-bottom: 10px;
}
.card-front p {
font-size: 16px;
opacity: 0.9;
}
.flip-button {
margin-top: 20px;
padding: 10px 20px;
background: #ff69b4;
color: #fff;
border: none;
border-radius: 25px;
cursor: pointer;
font-weight: bold;
transition: background 0.3s;
}
.flip-button:hover {
background: #ff1493;
}
.card-back h2 {
font-size: 20px;
margin-bottom: 15px;
}
.card-back p {
font-size: 14px;
margin-bottom: 20px;
}
.treat-yourself {
padding: 10px 20px;
background: #ff69b4;
color: #fff;
border: none;
border-radius: 25px;
cursor: pointer;
font-weight: bold;
}
.treat-yourself:hover {
background: #ff1493;
}
@media (max-width: 400px) {
.gift-card {
width: 90%;
}
}
</style>
</head>
<body>
<div class="gift-card" id="giftCard">
<div class="card-front">
<h1>✨ Good Day, Bestie! ✨</h1>
<p>You’re a ray of sunshine in my life! 🌞</p>
<button class="flip-button" onclick="flipCard()">Flip to Reveal</button>
</div>
<div class="card-back">
<h2>💖 Your Special Message 💖</h2>
<p>
"You deserve all the sparkle, joy, and love in the world! 🌈<br>
Treat yourself today—because you’re *incredible*! 🎉"
</p>
<button class="treat-yourself" onclick="alert('You’re amazing! 🥰')">Treat Yourself!</button>
<button class="flip-button" onclick="flipCard()">Close</button>
</div>
</div>
<script>
let isFlipped = false;
const giftCard = document.getElementById("giftCard");
function flipCard() {
isFlipped = !isFlipped;
giftCard.style.transform = isFlipped ? "rotateY(180deg)" : "rotateY(0deg)";
}
</script>
</body>
</html>