From 0a6317ec5cfb21d8e83ce9e45b2e56f476fb44da Mon Sep 17 00:00:00 2001 From: Argo-Tianyi Date: Wed, 29 Dec 2021 13:45:08 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=A2=9E=E5=8A=A0=20Card=20=E9=98=B4?= =?UTF-8?q?=E5=BD=B1=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css b/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css index b2057427..93b41d67 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css +++ b/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css @@ -108,3 +108,11 @@ padding: 1rem; margin: -1rem; } + +.card { + transition: box-shadow .3s linear; +} + + .card:hover { + box-shadow: 0 0 8px 0 rgb(0 0 0 / 8%), 0 2px 4px 0 rgb(255 255 255 / 0%); + }