From 67f4ba98dfa2fba2e07fca00a10e08f0ce0c2dc3 Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Sat, 15 Jan 2022 15:48:26 +0100 Subject: [PATCH] fixed less code --- pages/assets/css/styles.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pages/assets/css/styles.css b/pages/assets/css/styles.css index f8dccea7..08c84f60 100644 --- a/pages/assets/css/styles.css +++ b/pages/assets/css/styles.css @@ -131,20 +131,23 @@ .card-top{ } .enchant { text-align: center; - background: linear-gradient(to right, #FFF 20%, #bd34eb 40%, #bd34eb 60%, #FFF 80%); background-size: 200% auto; - color: #000; background-clip: text; text-fill-color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; - + -webkit-animation: shine 1s linear infinite; animation: shine 1s linear infinite; - @keyframes shine { - to { +} +@-webkit-keyframes shine { + to { + background-position: 200% center; + } +} +@keyframes shine { + to { background-position: 200% center; - } } - } \ No newline at end of file +} \ No newline at end of file -- GitLab