From f066f64eeffb7a97f004e3833783a7a87d7b4485 Mon Sep 17 00:00:00 2001 From: Arush Bansal <92149047+Arush-Bansal@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:20:24 +0530 Subject: [PATCH] Update style.css --- client/team/style.css | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/client/team/style.css b/client/team/style.css index 3989045..38a2f79 100644 --- a/client/team/style.css +++ b/client/team/style.css @@ -27,7 +27,13 @@ body { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); margin: 2.2vw 0.1vw 2.2vw 0.1vw; width: max(27%, 270px); - transition: transform 1s, border-radius 1s, background-color 1s, background 1s; + transition: transform 0.7s, border-radius 0.7s, background-color 0.7s, background 0.7s, box-shoadow 0.5s; +} + +.team-member:hover { + border-radius: 2px 5px 40px 5px; + box-shadow: 0 20px 25px #4d2934; + transform: scale(1.1); } .team-member img { @@ -40,6 +46,10 @@ body { transition: border-radius 1s; } +.team-member img:hover { + border-radius: 2px 5px 0px 0px; +} + .team-member h2 { margin: 0px; font-size: 20px; @@ -138,16 +148,6 @@ li > a { color: #c70039; } -.team-member:hover { - border-radius: 2px 5px 40px 5px; - box-shadow: 0 20px 25px #4d2934; - transform: scale(1.1); -} - -.team-member img:hover { - border-radius: 2px 5px 0px 0px; -} - main { padding-top: 80px; padding-left: 5%;