From 729079b42c7863d6b4615f9a4b0fe8fbbbf2fa02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E7=BB=B4=E5=98=89?= Date: Thu, 12 Nov 2020 14:55:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BC=98=E5=8C=96=E5=9B=BE=E4=B9=A6?= =?UTF-8?q?=E5=B0=81=E9=9D=A2=E6=95=88=E6=9E=9C=E5=85=BC=E5=AE=B9=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/index.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/static/css/index.css b/static/css/index.css index 2edf65a..6e21588 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -16,11 +16,13 @@ top: 0; left: 0; } -.card-item .object-cover { - filter: blur(1px); - transition: all 0.2s; -} -.card-item:hover .object-cover { - transform: scale(1.02); - filter: blur(0); +@media screen and (min-width: 1000px) { + .card-item .object-cover { + filter: blur(1px); + transition: all 0.2s; + } + .card-item:hover .object-cover { + transform: scale(1.02); + filter: blur(0); + } } -- GitLab