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
fix: Parallax Depth-of-Field: dark keyline on both sides of the Focus frame
Claude9aaabea44eb1
diff --git a/animations/01-scroll-based/parallax-depth-of-field/index.html b/animations/01-scroll-based/parallax-depth-of-field/index.htmlindex c8237271..0a54e509 100644--- a/animations/01-scroll-based/parallax-depth-of-field/index.html+++ b/animations/01-scroll-based/parallax-depth-of-field/index.html@@ -55,7 +55,8 @@.stage[data-hb-mode="inside"] .sheet::after{content:"";position:absolute;inset:0;outline:4px solid rgba(244,244,242,.6);outline-offset:-4px}.stage[data-hb-mode="inside"] .layer{will-change:auto}.stage[data-hb-mode="inside"] .start{z-index:-1;outline:4px dashed rgba(244,244,242,.45);outline-offset:-4px;pointer-events:none}- .stage[data-hb-mode="inside"] .focus{z-index:3;outline:8px solid #ffcf5a;outline-offset:3px;pointer-events:none}+ /* a dark line on both sides of the yellow ring keeps it 3:1 or more against the light sheets it crosses */+ .stage[data-hb-mode="inside"] .focus{z-index:3;outline:8px solid #ffcf5a;outline-offset:3px;box-shadow:0 0 0 14px #0b0b0d;pointer-events:none}.stage[data-hb-mode="inside"] :is(.far,.near,.fl){display:block}.far,.near{z-index:4}.far{top:5px;left:8px}