From 4c90677bbca4eb1754e640bf9eaa4f89cba92d66 Mon Sep 17 00:00:00 2001 From: Pablo Date: Sat, 28 Nov 2020 11:02:13 +0100 Subject: [PATCH] feat: add animation to salute --- assets/css/animations.css | 27 +++++++++++++++++++++++++++ components/ui/TheHeader.vue | 3 +++ pages/index.vue | 12 +++++++++++- 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/assets/css/animations.css b/assets/css/animations.css index 83c3943..9f2ba67 100644 --- a/assets/css/animations.css +++ b/assets/css/animations.css @@ -3,3 +3,30 @@ opacity: 0; } } + +@keyframes wave-animation { + 0% { + transform: rotate(0); + } + 10% { + transform: rotate(14deg); + } + 20% { + transform: rotate(-8deg); + } + 30% { + transform: rotate(14deg); + } + 40% { + transform: rotate(-4deg); + } + 50% { + transform: rotate(10deg); + } + 60% { + transform: rotate(0); + } + 100% { + transform: rotate(0); + } +} diff --git a/components/ui/TheHeader.vue b/components/ui/TheHeader.vue index 5a1ad9d..69c26fd 100644 --- a/components/ui/TheHeader.vue +++ b/components/ui/TheHeader.vue @@ -3,6 +3,9 @@
+

+ Pablo Sirera +