-
Interactive Pagination UI
HTML
CSS
JavaScript
Spinner Loader
Bouncing Dots
Wave Bars
Neon Ring Loader
3D Flip Loader
*{ margin:0; padding:0; box-sizing:border-box; } body{ background:#0f172a; color:white; font-family:Arial,sans-serif; padding:20px; } /* ========================= LAYOUT ========================= */ .preview-box { background:#111827; border-radius:20px; padding:25px; border:1px solid rgba(225, 220, 220, 0.); } .preview-box{ display:flex; justify-content:center; align-items:center; min-height:260px; } .section-title{ margin-bottom:15px; font-size:28px; color:#38bdf8; text-align:center } /* ========================= 1. SPINNER ========================= */ .spinner{ width:120px; height:120px; border:8px solid rgba(255,255,255,0.1); border-top:8px solid #00f5ff; border-radius:50%; animation:spin 1s linear infinite; } @keyframes spin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } } /* ========================= 2. BOUNCING DOTS ========================= */ .dots{ display:flex; gap:12px; } .dots span{ width:25px; height:25px; background:#ff3d81; border-radius:50%; animation:bounce 0.7s infinite alternate; } .dots span:nth-child(2){ animation-delay:0.2s; } .dots span:nth-child(3){ animation-delay:0.4s; } .dots span:nth-child(4){ animation-delay:0.6s; } .dots span:nth-child(5){ animation-delay:0.8s; } @keyframes bounce{ from{ transform:translateY(0); } to{ transform:translateY(-20px); } } /* ========================= 3. WAVE BARS ========================= */ .bars{ display:flex; align-items:flex-end; gap:6px; height:80px; } .bars span{ width:12px; height:20px; background:#ffc107; border-radius:20px; animation:wave 1s infinite ease-in-out; } .bars span:nth-child(2){ animation-delay:0.1s; } .bars span:nth-child(3){ animation-delay:0.2s; } .bars span:nth-child(4){ animation-delay:0.3s; } .bars span:nth-child(5){ animation-delay:0.4s; } @keyframes wave{ 0%,100%{ height:20px; } 50%{ height:75px; } } /* ========================= 4. NEON RING ========================= */ .neon-ring{ width:120px; height:120px; border-radius:50%; border:5px solid transparent; border-top:5px solid #00f5ff; border-right:5px solid #ff00ea; animation:ring 1s linear infinite; box-shadow: 0 0 20px #00f5ff, 0 0 40px #ff00ea; } @keyframes ring{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } } /* ========================= 5. FLIP BOX ========================= */ .flip{ width:90px; height:90px; background:#8b5cf6; animation:flip 1.5s infinite ease-in-out; } @keyframes flip{ 0%{ transform:perspective(120px) rotateX(0deg) rotateY(0deg); } 50%{ transform:perspective(120px) rotateX(-180deg) rotateY(0deg); } 100%{ transform:perspective(120px) rotateX(-180deg) rotateY(-180deg); } } /* ========================= MOBILE ========================= */ @media(max-width:600px){ .loader-section{ grid-template-columns:1fr; } h1{ font-size:28px; } }
Live Preview