-
Auto Loop List Animation
HTML
CSS
JavaScript
🔥 Dashboard UI
🎨 Animation Effects
âš¡ Fast Interaction
💎 Premium Design
🚀 Smooth UX
🔥 Dashboard UI
🎨 Animation Effects
âš¡ Fast Interaction
💎 Premium Design
🚀 Smooth UX
* { box-sizing: border-box; } body { margin: 0; height: 100vh; display: flex; justify-content: center; align-items: center; background: radial-gradient(circle at top, #0f2027, #203a43, #2c5364); font-family: 'Segoe UI', sans-serif; color: #fff; } /* Container */ .container { width: 400px; height: 260px; overflow: hidden; border-radius: 20px; position: relative; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); } /* Animated List */ .list { display: flex; flex-direction: column; animation: scroll 10s linear infinite; margin: 30px; } /* STOP animation on hover */ .container:hover .list { animation-play-state: paused; } /* Items */ .item { padding: 16px; margin: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(114, 21, 21, 0.1); backdrop-filter: blur(10px); transition: all 0.3s ease; } /* Hover effect */ .item:hover { transform: scale(1.08); background: rgba(0, 255, 255, 0.15); box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4); } /* Loop animation */ @keyframes scroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } } /* Optional gradient fade (top & bottom) */ .container::before, .container::after { content: ""; position: absolute; left: 0; width: 100%; height: 40px; z-index: 2; pointer-events: none; } .container::before { top: 0; background: linear-gradient(to bottom, rgba(15, 32, 39, 1), transparent); } .container::after { bottom: 0; background: linear-gradient(to top, rgba(44, 83, 100, 1), transparent); }
Live Preview