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: let the arrow keys and Show me repaint the star under a resting pointer on Star Rating
matin89c03797c63c
diff --git a/animations/04-micro-interactions/star-rating/index.html b/animations/04-micro-interactions/star-rating/index.htmlindex 37b59a10..61b5de0f 100644--- a/animations/04-micro-interactions/star-rating/index.html+++ b/animations/04-micro-interactions/star-rating/index.html@@ -38,8 +38,6 @@.star.pop{animation:pop .42s cubic-bezier(.22,1,.36,1)}.value{font-weight:700;font-size:clamp(20px,5vw,32px)}.value small{font-weight:400;font-size:clamp(11px,1.6vw,14px);color:var(--ui-muted)}- /* A star half filled by the preview must not be painted whole by :hover */- @media(hover:hover){.star:hover:not(.half-on){color:var(--ui-accent)}}/* More than five stars that cannot share one row wrap into two equal rows, not nine and one */@media(max-width:845px){.rate.many{max-width:calc(5*var(--star) + 4*var(--gap) + 1px)}}@media(prefers-reduced-motion:reduce){.star{transition:none}.star.pop{animation:none}}