DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
100 Celebration - Preview | DevPlatform
DevPlatform
Categories
Accordion
Animation
Box Shadow
Button
Card
Footer
Form
Gallery
Hero Section
Inputs
Loader
Marquee
Modal
Modules
Navbar
Progress Bar
Radio Buttons
Search-Bar
Sections
Slider
Tab
Timeline
Toggle
100 Celebration
jitesh208
Jan 21, 2026
17
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<div class="container"> <div class="card"> <div class="confetti"> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> <div class="confetti-piece"></div> </div> <div class="fireworks"> <div class="firework"></div> <div class="firework"></div> <div class="firework"></div> </div> <div class="card-content"> <div class="trophy-container"> <div class="trophy"> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 9H4.5a2.5 2.5 0 0 1 0-5H6"></path> <path d="M18 9h1.5a2.5 2.5 0 0 0 0-5H18"></path> <path d="M4 22h16"></path> <path d="M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22"></path> <path d="M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22"></path> <path d="M18 2H6v7a6 6 0 0 0 12 0V2Z"></path> </svg> </div> </div> <div class="milestone"> <div class="number-container"> <span class="number-shadow">100</span> <span class="number-glow">100</span> <span class="number-main">100</span> </div> <div class="sparkles"> <span class="sparkle">✨</span> <span class="sparkle">✨</span> <span class="sparkle">✨</span> <span class="sparkle">✨</span> </div> </div> <h2 class="title">Components</h2> <p class="subtitle">Milestone Achieved!</p> <div class="achievement-box"> <div class="achievement-item"> <span class="achievement-icon">🎯</span> <span class="achievement-text">Century Club</span> </div> <div class="achievement-item"> <span class="achievement-icon">🚀</span> <span class="achievement-text">Master Builder</span> </div> <div class="achievement-item"> <span class="achievement-icon">⭐</span> <span class="achievement-text">Legend Status</span> </div> </div> <div class="footer-text"> <p>You're absolutely crushing it!</p> <p class="congrats">CONGRATULATIONS! 🎉</p> </div> </div> <div class="light-beam"></div> <div class="light-beam light-beam-2"></div> <div class="light-beam light-beam-3"></div> </div> </div>
1
* { margin: 0; padding: 0; box-sizing: border-box; } body { min-height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding: 20px; overflow: hidden; } .container { perspective: 2000px; } .card { width: 340px; height: 350px; position: relative; background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); border-radius: 30px; padding: 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(102, 126, 234, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.1); overflow: hidden; animation: card-float 4s ease-in-out infinite, card-glow 3s ease-in-out infinite; transform-style: preserve-3d; border: 2px solid rgba(255, 255, 255, 0.3); } .card:hover { animation: card-float 4s ease-in-out infinite, card-glow 3s ease-in-out infinite, card-celebrate 1s ease-out; } .confetti { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; } .confetti-piece { position: absolute; width: 10px; height: 10px; background: linear-gradient(45deg, #ffd700, #ff69b4, #00ffff, #ff4500); animation: confetti-fall 3s ease-in-out infinite; opacity: 0; } .confetti-piece:nth-child(1) { left: 10%; animation-delay: 0s; background: #ffd700; } .confetti-piece:nth-child(2) { left: 20%; animation-delay: 0.3s; background: #ff69b4; } .confetti-piece:nth-child(3) { left: 30%; animation-delay: 0.6s; background: #00ffff; } .confetti-piece:nth-child(4) { left: 40%; animation-delay: 0.9s; background: #ff4500; } .confetti-piece:nth-child(5) { left: 50%; animation-delay: 1.2s; background: #7fff00; } .confetti-piece:nth-child(6) { left: 60%; animation-delay: 0.2s; background: #ff1493; } .confetti-piece:nth-child(7) { left: 70%; animation-delay: 0.5s; background: #00ff7f; } .confetti-piece:nth-child(8) { left: 80%; animation-delay: 0.8s; background: #ffa500; } .confetti-piece:nth-child(9) { left: 90%; animation-delay: 1.1s; background: #9370db; } .confetti-piece:nth-child(10) { left: 95%; animation-delay: 1.4s; background: #ff6347; } .fireworks { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .firework { position: absolute; width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.8); animation: firework-explode 2s ease-out infinite; } .firework:nth-child(1) { top: 30%; left: 20%; animation-delay: 0s; } .firework:nth-child(2) { top: 40%; left: 70%; animation-delay: 0.7s; } .firework:nth-child(3) { top: 60%; left: 50%; animation-delay: 1.4s; } .card-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; } .trophy-container { margin-bottom: 10px; } .trophy { width: 60px; height: 60px; color: #ffd700; filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)); animation: trophy-bounce 2s ease-in-out infinite; } .trophy svg { width: 100%; height: 100%; } .milestone { position: relative; margin-bottom: 10px; } .number-container { position: relative; } .number-main, .number-glow, .number-shadow { font-size: 100px; font-weight: 900; line-height: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .number-shadow { color: rgba(0, 0, 0, 0.3); transform: translate(-48%, -48%); } .number-glow { color: #fff; filter: blur(20px); opacity: 0.8; animation: number-pulse 2s ease-in-out infinite; } .number-main { background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: number-shine 3s ease-in-out infinite; background-size: 200% 200%; filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8)); } .sparkles { position: absolute; top: 0; left: 0; width: 180px; height: 120px; pointer-events: none; } .sparkle { position: absolute; font-size: 24px; animation: sparkle-twinkle 1.5s ease-in-out infinite; } .sparkle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; } .sparkle:nth-child(2) { top: 10%; right: 10%; animation-delay: 0.3s; } .sparkle:nth-child(3) { bottom: 10%; left: 10%; animation-delay: 0.6s; } .sparkle:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 0.9s; } .title { font-size: 32px; font-weight: 800; color: white; text-transform: uppercase; letter-spacing: 4px; text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(0, 0, 0, 0.5); margin: 10px 0 5px; } .subtitle { font-size: 14px; color: rgba(255, 255, 255, 0.95); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; } .achievement-box { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-bottom: 15px; } .achievement-item { display: flex; align-items: center; gap: 10px; padding: 8px 15px; background: rgba(255, 255, 255, 0.2); border-radius: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease; animation: achievement-appear 0.6s ease-out backwards; } .achievement-item:nth-child(1) { animation-delay: 0.2s; } .achievement-item:nth-child(2) { animation-delay: 0.4s; } .achievement-item:nth-child(3) { animation-delay: 0.6s; } .achievement-item:hover { background: rgba(255, 255, 255, 0.3); transform: translateX(5px) scale(1.05); } .achievement-icon { font-size: 20px; } .achievement-text { font-size: 13px; font-weight: 600; color: white; letter-spacing: 1px; } .footer-text { text-align: center; color: white; } .footer-text p { font-size: 13px; margin-bottom: 5px; opacity: 0.9; } .congrats { font-size: 16px; font-weight: 700; letter-spacing: 2px; animation: congrats-pulse 1.5s ease-in-out infinite; } .light-beam { position: absolute; top: -50%; left: -10%; width: 40%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); transform: rotate(25deg); animation: light-sweep 4s ease-in-out infinite; pointer-events: none; } .light-beam-2 { left: auto; right: -10%; animation-delay: 1.3s; } .light-beam-3 { left: 30%; animation-delay: 2.6s; } @keyframes card-float { 0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); } 50% { transform: translateY(-15px) rotateX(5deg) rotateY(5deg); } } @keyframes card-glow { 0%, 100% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(102, 126, 234, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.1); } 50% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(102, 126, 234, 0.8), inset 0 0 50px rgba(255, 255, 255, 0.2); } } @keyframes card-celebrate { 0%, 100% { transform: scale(1) rotate(0deg); } 25% { transform: scale(1.05) rotate(2deg); } 75% { transform: scale(1.05) rotate(-2deg); } } @keyframes confetti-fall { 0% { transform: translateY(-100px) rotate(0deg); opacity: 1; } 100% { transform: translateY(450px) rotate(720deg); opacity: 0; } } @keyframes firework-explode { 0% { transform: scale(0); opacity: 1; } 50% { opacity: 1; } 100% { transform: scale(30); opacity: 0; } } @keyframes trophy-bounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.1); } } @keyframes number-pulse { 0%, 100% { opacity: 0
1
Comments
0
Want to comment?
Please
login
or
sign up
to post comments.
No comments yet
Be the first to comment on this component!
Comments 0
Want to comment?
Please login or sign up to post comments.
No comments yet
Be the first to comment on this component!