From 54beedf5344f1812d8d1a6ce2b7c28376a618a90 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Fri, 25 Jun 2021 16:12:38 +0200 Subject: [PATCH] =?UTF-8?q?Zm=C4=9Bna=20barvy=20pozad=C3=AD=20na=20hover?= =?UTF-8?q?=20u=20realiz=C3=A1tora?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/style.css b/style.css index 2bf8ff9..f1fa033 100644 --- a/style.css +++ b/style.css @@ -100,6 +100,11 @@ main .team figure { background-color: #fff; padding: 1em; margin: 0; + transition: all .1s linear; +} +main .team figure:hover { + background-color: #ff4e6c; + color: #fff; } main .team figure, main .team figure * { cursor: pointer } main .team figure img { width: 100% } @@ -167,6 +172,7 @@ footer img:hover { transform: scale(1.1) } max-width: var(--width); padding: 3em; background-color: #fff; + color: #324c9c; transform: translate(0, -2em); transition: transform .2s ease-out; }