0

CSS animation

Can someone tell me why my animation isn’t working I want to move the text from left to right. .sign{ font-size: 20px; text-shadow: -10px 0px 10px black ; animation-name: signa; animation-duration: 5s; } @keyframe signa{ from {text-align: right;} to {text-align: left;} } Here’s the full code https://code.sololearn.com/WZoI3pm8RmA2/?ref=app

4th Apr 2019, 12:00 AM
Cookie
Cookie  - avatar
2 ответов
+ 3
Syntax error: @keyframes And use shorthand animation animation: signa 5s linear 0s infinite;
4th Apr 2019, 12:18 AM
Calviղ
Calviղ - avatar
+ 2
thank you!
14th Jun 2019, 2:29 PM
Cookie
Cookie  - avatar