diff --git a/pages/assets/css/styles.css b/pages/assets/css/styles.css index f8dccea79b703291170056e12bedf774209d0f85..08c84f6008abcce01a967cd60228db71b82e642d 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