From c9d1393014e9e274470c062be2b033060256498f Mon Sep 17 00:00:00 2001 From: aniketdvd Date: Wed, 30 Oct 2019 23:51:56 +0530 Subject: [PATCH] Added smooth hovering style with animation --- css/style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/css/style.css b/css/style.css index f89b5a5..3af1838 100644 --- a/css/style.css +++ b/css/style.css @@ -71,6 +71,18 @@ div.grid { div.grid-item { margin-bottom: 20px; margin-top: 10px; + padding: 10px; +} + +div.grid-item:hover{ + box-shadow: 2px 2px 8px #ff555f; + border-radius: 5pt; + transition: ease-in; + transition-duration: 0.3s; +} +div.grid-item:not(:hover){ + transition: ease-in; + transition-duration: 0.3s; } .language-name:hover{