From 960bc450fdf6eafc55a2e1db3e5b84161ae4170f Mon Sep 17 00:00:00 2001 From: Tanishq Sharma <123730739+TanishqSharma2022@users.noreply.github.com> Date: Mon, 4 Dec 2023 03:12:57 +0530 Subject: [PATCH] constitution animation --- css/style.css | 10 +++++++++- index.html | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index b39fb45..bcfd7e4 100644 --- a/css/style.css +++ b/css/style.css @@ -1562,7 +1562,15 @@ transition: all 0.5s ease-in-out; max-width: 300px; filter: drop-shadow(0px 0px 20px #8e8a8a); object-fit: contain; - + animation: upDown 7s ease-in-out infinite; +} +@keyframes upDown { + 0%, 100%{ + transform: translateY(0); + } + 50%{ + transform: translateY(-10px); + } } diff --git a/index.html b/index.html index 98dc6b8..a61d978 100644 --- a/index.html +++ b/index.html @@ -259,7 +259,7 @@