176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
docs: reword the Show me comment in Form Field Morph
matin7552810f4307
diff --git a/animations/04-micro-interactions/form-field-morph/index.html b/animations/04-micro-interactions/form-field-morph/index.htmlindex e36ffb96..e8de3049 100644--- a/animations/04-micro-interactions/form-field-morph/index.html+++ b/animations/04-micro-interactions/form-field-morph/index.html@@ -230,10 +230,10 @@void stage.offsetWidth;parts.forEach(el=>{el.style.transition=''});}- // Full name looks focused and gets its letters (100ms apart at 70ms each, once its label has risen), then Company looks focused- // for a moment and the name is cleared. The run only adds a class and sets values: it never moves the real focus, so it cannot- // take the place of a visitor who is typing. A real press on Show me lets go of a field that still has the focus (this also- // closes the phone keyboard); the press on arrival leaves a visitor who is already in a field alone.+ // Full name looks focused and is typed into, one letter every 70ms once its label has risen; then Company looks focused for a+ // moment and the name is cleared. The run only adds a class and sets values: it never moves the real focus, so it cannot take+ // the place of a visitor who is typing. A real press on Show me lets go of a field that still has the focus (this also closes+ // the phone keyboard); the press the shared script makes on arrival leaves a visitor who is already in a field alone.document.getElementById('btn-demo').addEventListener('click',e=>{const inStage=stage.contains(document.activeElement);if(!e.isTrusted&&inStage)return;