From aa7a2194185083ff5cfa807ba2ef6156c09e9bff Mon Sep 17 00:00:00 2001 From: HarshKhandeparkar Date: Fri, 12 Jun 2020 00:14:32 +0530 Subject: [PATCH] feat: add hover animations to cards --- lib/css/index.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/css/index.css b/lib/css/index.css index 674d8f8..a37ba8f 100644 --- a/lib/css/index.css +++ b/lib/css/index.css @@ -131,7 +131,7 @@ nav { color: white; } /* /Special Branded Color Classes*/ -/*Hovering Button Style*/ +/* Hovering Button Style*/ .button { background-color: #4CAF50; /* Green */ border: none; @@ -156,4 +156,13 @@ nav { color: #28D4E2; } .button1 {border-radius: 13px;} -/*Hovering Button Style*/ \ No newline at end of file +/* /Hovering Button Style*/ + +/* Card animations*/ +.card { + transition: transform 0.2s; +} +.card:hover { + transform: scale(1.05); +} +/* /Card animations*/ \ No newline at end of file