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 @@

Functioning of the Student Senate

- M377.5,327.5Q339,405,249,406Q159,407,82,328.5Q5,250,71.5,153Q138,56,242,70Q346,84,381,167Q416,250,377.5,327.5Z + M377.5,327.5Q339,405,249,406Q159,407,82,328.5Q5,250,71.5,153Q138,56,242,70Q346,84,381,167Q416,250,377.5,327.5Z; M409,315.5Q326,381,249,383Q172,385,114,317.5Q56,250,100.5,158.5Q145,67,252.5,63.5Q360,60,426,155Q492,250,409,315.5Z; ">