From cba87d3295ba54a5cafbe12de3fdb25c4f46e692 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 5 Apr 2021 15:01:42 +0200 Subject: [PATCH] news Effet blur --- module/news/view/index/index.css | 11 ++++------- module/news/view/index/index.php | 3 +-- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/module/news/view/index/index.css b/module/news/view/index/index.css index c462ebbd..01708395 100755 --- a/module/news/view/index/index.css +++ b/module/news/view/index/index.css @@ -27,13 +27,10 @@ } .newsBlur { - position: absolute; - bottom: -5%; - margin: -10px; - height: 20%; - width: 110%; - backdrop-filter: blur(1px); - -webkit-backdrop-filter: blur(1px); + background: linear-gradient(#333 70%,#FFF ); + background-clip: text; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; } diff --git a/module/news/view/index/index.php b/module/news/view/index/index.php index d71aba33..62d28a53 100755 --- a/module/news/view/index/index.php +++ b/module/news/view/index/index.php @@ -5,9 +5,8 @@

getUrl(0) . '/' . $newsId . '">' . $news['title'] . ''; ?>

-
+
-