From b9fb716e6adde25a7e66c8f76f926d521741983e Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sun, 18 Oct 2020 13:11:05 +0800 Subject: [PATCH] Optimize the hover effect of related-post card. --- assets/css/post.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/post.scss b/assets/css/post.scss index ac5cf3b..825cd46 100644 --- a/assets/css/post.scss +++ b/assets/css/post.scss @@ -173,7 +173,7 @@ $prompt-newer: "{{ site.data.label.post.button.next }}"; &:hover { -webkit-transform: translate3d(0, -3px, 0); transform: translate3d(0, -3px, 0); - filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08)); + box-shadow: 0 20px 35px -4px rgba(0, 0, 0, 0.15); } }