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: Gooey Menu (04.40): in forced colors a border draws each button, whose filled circle is gone there
matin8d73125f20c1
diff --git a/animations/04-micro-interactions/gooey-menu/index.html b/animations/04-micro-interactions/gooey-menu/index.htmlindex 549fde0e..64642ce2 100644--- a/animations/04-micro-interactions/gooey-menu/index.html+++ b/animations/04-micro-interactions/gooey-menu/index.html@@ -46,9 +46,10 @@.gm-mb.p1{animation:gm-p1 var(--dur)}.gm-mb.p2{animation:gm-p2 var(--dur)}@keyframes gm-p1{40%{transform:scale(1.1)}75%{transform:scale(.97)}}@keyframes gm-p2{40%{transform:scale(1.1)}75%{transform:scale(.97)}}/* The real buttons lie over the circles: see-through, with a dark icon and a sheen kept 3px inside the edge (the filtered circle- ends a little inside it), each moving as its circle does */+ ends a little inside it), each moving as its circle does. In forced colors the circles' fill is gone, so a border draws each button. */.gm-main,.gm-it{display:grid;place-items:center;padding:3px;border:0;color:#0b0b0d;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:radial-gradient(circle closest-side at 40% 34%,rgba(255,255,255,.42),rgba(255,255,255,0)) content-box}+ @media(forced-colors:active){.gm-main,.gm-it{border:1px solid ButtonText}}.gm-main{z-index:1}.gm svg{width:42%;height:42%;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.gm-main svg{transition:transform var(--dur) var(--pop)}