1
I intend to give a 'delay' to this animation but I’m not getting a delay before it goes to the center of the page, if I add 'Animation-delay' within the class. ft it already starts in the center of the page by loading it, wanted when loading the page it start with a delay before it starts to be displayed, leaving it at the same speed while walking to the center, ??
*{ padding:0px; margin:0px;}
body{background-color:#6C9;}
p.ft{ position: absolute;
top:100px;
left:300px;
transition:all 0.5s linear;
font-size:40px;
color:#FFF;
overflow:hidden;
white-space:nowrap;
}
.ft{ animation-timing-function:10s ease-in;
animation-name:obj;
animation-duration:3s;
}
/*não funciona*/
@keyframes obj{ from{ left:-500px; animation-delay:5s;}
to{ left:300px;}
}
<p class="ft">ANIMAÇÃO MOVE</p>