From 8e22002c35043df197807240b7c278441b39bcdd Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Tue, 27 Mar 2018 18:41:41 +0200 Subject: [PATCH] Added transitions to team images on hover --- css/style.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 195f6f7..cdfdf7a 100755 --- a/css/style.css +++ b/css/style.css @@ -524,13 +524,14 @@ body { margin-bottom: 30px; } .member img.colored { - display: none; + display: block; position: absolute; top: 0; - transform: scale(1.08); } + transition: transform 1s ease-in-out; } -.member:hover img.colored { - display: block; } +.member img.colored:hover { + transform: scale(1.1); + display: block; } .member h4 { margin-bottom: 4px; }