From e23cab60a337033b0e82311d4c281a34360333e8 Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Sat, 12 Sep 2020 11:26:17 +0200 Subject: [PATCH] make things better --- content/stylesheets/main.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/content/stylesheets/main.css b/content/stylesheets/main.css index acd2995..a9f1186 100644 --- a/content/stylesheets/main.css +++ b/content/stylesheets/main.css @@ -367,9 +367,21 @@ fieldset p label input { transform: translate(-50%, -50%); height: 80%; width: auto; + + transition: ease-in 0.2s; + transition-property: filter; +} + +.tile:hover .tile__image { + filter: blur(2px); +} + +.tile:hover .tile__title { + opacity: 1; } .tile__title { + opacity: 0; position: absolute; bottom: 0; left: 0; @@ -384,6 +396,9 @@ fieldset p label input { text-shadow: 2px 2px #333; padding: 5px; + + transition: ease-in 0.2s; + transition-property: opacity; } .tile__title--medium {