Multi-Lock Snap Stagger Three dark tokens with three orange padlocks dropping onto them one after another; each shackle snaps shut with a pop and an expanding ring. Good for explaining constraints, protection or a sequence of steps.
Motion specs
Duration 3.9s
Easing cubic-bezier(.2,1.6,.4,1)
Technique WAAPI keyframes / CSS transforms
Library Web Animations API / CSS Transitions
Category Lottie & Icons
License Free for personal and commercial use AI prompt Create a web animation named "Multi-Lock Snap Stagger": #0d0e11 background, three 86px tokens in #16181e with #2a2e38 borders. Each token gets an orange #ff5e1a padlock made of a 52x38 body with 9px corners and a 34x30 shackle with a 6px border. Each lock starts 60px above at opacity 0, drops 46px over 340ms with cubic-bezier(.2,1.6,.4,1), then the shackle snaps shut over 220ms with cubic-bezier(.3,1.8,.4,1) while a ring expands to 1.5 and fades. The three locks fire 280ms apart, then all lift away and the cycle repeats every 3.9s. Full code (HTML + CSS + JS) <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Multi-Lock Snap Stagger</title>
<style>
body{margin:0;background:#0d0e11;color:#f3f4f6;font-family:system-ui,sans-serif;display:grid;place-items:center;min-height:100vh}
.stage{display:flex;gap:34px;align-items:flex-end;justify-content:center;width:100%;max-width:520px;height:250px}
.slot{position:relative;display:grid;place-items:end center;width:92px;height:150px}
.dot{width:86px;height:86px;border-radius:50%;background:#16181e;border:2px solid #2a2e38}
.lock{position:absolute;top:-96px;width:52px;height:60px;will-change:transform,opacity}
.lock .body{position:absolute;bottom:0;width:52px;height:38px;border-radius:9px;background:#ff5e1a}
.lock .shackle{position:absolute;top:0;left:9px;width:34px;height:30px;border:6px solid #ff5e1a;border-bottom:none;border-radius:18px 18px 0 0;box-sizing:border-box;transform-origin:bottom center;will-change:transform}
.ring{position:absolute;top:-30px;width:70px;height:70px;border-radius:50%;border:2px solid #ff5e1a;opacity:0;will-change:transform,opacity}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}
</style></head><body><div class="stage" id="s"></div>
<script>
const s=document.getElementById('s');
for(let i=0;i<3;i++){const d=document.createElement('div');d.className='slot';d.innerHTML='<div class="dot"></div><div class="lock"><div class="shackle"></div><div class="body"></div></div><div class="ring"></div>';s.appendChild(d);}
const slots=[...document.querySelectorAll('.slot')];
function reset(){slots.forEach(sl=>{const l=sl.querySelector('.lock'),sh=sl.querySelector('.shackle'),rg=sl.querySelector('.ring');l.style.transition='none';l.style.transform='translateY(-60px)';l.style.opacity='0';sh.style.transition='none';sh.style.transform='rotate(0deg)';rg.style.transition='none';rg.style.opacity='0';rg.style.transform='scale(.6)';});}
function play(){
reset();
slots.forEach((sl,i)=>setTimeout(()=>{
const l=sl.querySelector('.lock'),sh=sl.querySelector('.shackle'),rg=sl.querySelector('.ring');
l.style.transition='transform .34s cubic-bezier(.2,1.6,.4,1),opacity .14s ease-out';l.style.transform='translateY(46px)';l.style.opacity='1';
setTimeout(()=>{sh.style.transition='transform .22s cubic-bezier(.3,1.8,.4,1)';sh.style.transform='rotate(0deg)';rg.style.transition='transform .5s ease-out,opacity .5s ease-out';rg.style.opacity='1';rg.style.transform='scale(1.5)';},170);
setTimeout(()=>{rg.style.transition='opacity .3s ease-out';rg.style.opacity='0';},560);
},200+i*280));
setTimeout(()=>{slots.forEach(sl=>{const l=sl.querySelector('.lock');l.style.transition='transform .4s ease-in,opacity .4s ease-in';l.style.transform='translateY(-40px)';l.style.opacity='0';});},2100);
}
play();setInterval(play,3900);
</script></body></html>Pufferfish Inflates Raising Spines Related templates