From b7992ca138701733c47b375b8daf33eeac5f4e6c Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Sat, 24 Jan 2026 15:22:57 +0300 Subject: [PATCH] feat(app): add common animaition for ux elements that can interact with --- src/app/styles/app.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/app/styles/app.css b/src/app/styles/app.css index 2461f0d..96ec340 100644 --- a/src/app/styles/app.css +++ b/src/app/styles/app.css @@ -140,3 +140,25 @@ .peer:focus-visible ~ * { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); } + +@keyframes nudge { + 0%, 100% { + transform: translateY(0) scale(1) rotate(0deg); + } + 2% { + transform: translateY(-2px) scale(1.1) rotate(-1deg); + } + 4% { + transform: translateY(0) scale(1) rotate(1deg); + } + 6% { + transform: translateY(-2px) scale(1.1) rotate(0deg); + } + 8% { + transform: translateY(0) scale(1) rotate(0deg); + } +} + +.animate-nudge { + animation: nudge 10s ease-in-out infinite; +}