
#212121
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="level-up-notification"> <div class="confetti"></div> <div class="level-up-text">Level Up!</div> </div> <div class="confetti-container"> <div class="confetti"> <i class="square" style="--speed: 10; --bg: yellow"></i> <i class="pentagram" style="--speed: 18; --bg: white"></i> <i class="rectangle" style="--speed: 29; --bg: green"></i> <i class="hexagram" style="--speed: 17; --bg: blue"></i> <i class="pentagram" style="--speed: 33; --bg: red"></i>
CSS
.level-up-notification { justify-content: center; align-items: center; flex-direction: column; background-color: #FDD835; border-radius: 10px; font-weight: bold; font-family: "Courier New", monospace; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); opacity: 0; animation: scale-up 1.5s ease-in-out forwards, fade-out 0.5s ease-in-out forwards 21.5s; }
MIT License