ESEEN's picture
Create a 5 seconds video of super man waving a high 5
9c08905 verified
Raw History Blame Contribute Delete
7.17 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SuperHighFive | Heroic Animation</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
@keyframes wave {
0%, 100% { transform: rotate(0deg); }
25% { transform: rotate(15deg); }
50% { transform: rotate(-10deg); }
75% { transform: rotate(5deg); }
}
.superman-arm {
animation: wave 0.8s infinite;
transform-origin: 80% 20%;
}
.bg-gradient {
background: linear-gradient(135deg, #0066CC 0%, #FF0000 50%, #FFFF00 100%);
background-size: 200% 200%;
animation: gradient 8s ease infinite;
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.shine {
position: relative;
overflow: hidden;
}
.shine::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
to bottom right,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0) 45%,
rgba(255, 255, 255, 0.5) 50%,
rgba(255, 255, 255, 0) 55%,
rgba(255, 255, 255, 0) 100%
);
transform: rotate(30deg);
animation: shine 3s infinite;
}
@keyframes shine {
0% { left: -50%; top: -50%; }
100% { left: 150%; top: 150%; }
}
</style>
</head>
<body class="bg-black overflow-hidden h-screen flex items-center justify-center">
<div id="hero-container" class="relative w-full h-full flex items-center justify-center">
<!-- Background Elements -->
<div class="absolute inset-0 bg-gradient opacity-70"></div>
<div class="absolute inset-0 bg-black/20"></div>
<!-- Superman Silhouette -->
<div class="relative z-10 w-64 h-96 md:w-80 md:h-[28rem]">
<!-- Body -->
<div class="absolute w-full h-full">
<!-- Cape -->
<div class="absolute top-0 left-1/4 w-1/2 h-3/5 bg-red-600 rounded-b-full transform -rotate-6 origin-top"></div>
<!-- Torso -->
<div class="absolute top-1/4 left-1/4 w-1/2 h-2/5 bg-blue-600 rounded-t-3xl">
<!-- S Shield -->
<div class="absolute top-1/4 left-1/4 w-1/2 h-1/2 bg-yellow-400 rounded-full flex items-center justify-center">
<div class="text-red-600 font-bold text-2xl md:text-3xl">S</div>
</div>
</div>
<!-- Head -->
<div class="absolute top-0 left-1/3 w-1/3 h-1/4 bg-skin-500 rounded-full">
<!-- Eyes -->
<div class="absolute top-1/3 left-1/4 w-1/12 h-1/12 bg-white rounded-full"></div>
<div class="absolute top-1/3 right-1/4 w-1/12 h-1/12 bg-white rounded-full"></div>
</div>
<!-- Legs -->
<div class="absolute bottom-0 left-1/4 w-1/2 h-1/3 flex">
<div class="w-1/2 h-full bg-blue-600 rounded-b-lg"></div>
<div class="w-1/2 h-full bg-blue-600 rounded-b-lg"></div>
</div>
<!-- Arms -->
<div class="absolute top-1/3 left-0 w-full h-1/3 flex justify-between">
<!-- Left Arm (Static) -->
<div class="w-1/4 h-3/4 bg-blue-600 rounded-r-lg"></div>
<!-- Right Arm (Waving) -->
<div class="w-1/4 h-3/4 bg-blue-600 rounded-l-lg superman-arm">
<!-- Hand -->
<div class="absolute bottom-0 left-0 w-full h-1/3 bg-skin-500 rounded-b-lg">
<div class="absolute bottom-0 left-1/4 w-1/2 h-1/2 bg-skin-400 rounded-b-lg"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Motion Lines -->
<div class="absolute z-0 w-full h-full overflow-hidden">
<div class="absolute top-0 left-0 w-full h-full">
<div class="absolute top-1/2 left-0 w-full h-1 bg-white/10 transform -rotate-6"></div>
<div class="absolute top-1/2 left-0 w-full h-1 bg-white/10 transform rotate-3"></div>
<div class="absolute top-1/2 left-0 w-full h-1 bg-white/10 transform -rotate-12"></div>
</div>
</div>
<!-- UI Elements -->
<div class="absolute bottom-10 left-0 right-0 text-center z-20">
<h1 class="text-4xl md:text-5xl font-bold text-white mb-2">HIGH FIVE!</h1>
<p class="text-xl text-white/80 mb-6">Superman wants to celebrate with you</p>
<button class="px-8 py-3 bg-red-600 hover:bg-red-700 text-white font-bold rounded-full transition-all transform hover:scale-105 shadow-lg shine">
<span class="flex items-center">
<i data-feather="zap" class="mr-2"></i>
SLAP THAT HAND!
</span>
</button>
</div>
</div>
<script>
feather.replace();
// Add interactive elements
document.querySelector('button').addEventListener('click', function() {
const container = document.getElementById('hero-container');
container.classList.add('animate-pulse');
// Create explosion effect
for (let i = 0; i < 20; i++) {
const star = document.createElement('div');
star.className = 'absolute w-2 h-2 bg-yellow-400 rounded-full';
star.style.left = `${Math.random() * 100}%`;
star.style.top = `${Math.random() * 100}%`;
star.style.opacity = '0';
star.style.transform = 'scale(0)';
container.appendChild(star);
anime({
targets: star,
opacity: [0, 1, 0],
scale: [0, 2, 0],
translateX: () => anime.random(-50, 50),
translateY: () => anime.random(-50, 50),
duration: 1000,
easing: 'easeOutExpo'
});
}
setTimeout(() => {
container.classList.remove('animate-pulse');
}, 1000);
});
</script>
</body>
</html>