- 1
Hello every body I want from you to help me how can I get code is makes the text move from right and stop in the middle plz help
I want it so hard because I don't know how can do it Thanks
4 odpowiedzi
+ 5
Not only full example, but improved one:
https://code.sololearn.com/WPx273ALJBpm/#css
+ 3
html:
<div>my text moving</div>
css:
div {
text-align:center;
animation:anim 2s both;
}
@keyframes anim {
from { transform:translate(50%); }
to { transform:translate(0); }
}
[edit]
Quick and lazy way answer: could be improved through use of positionned mode ^^
- 1
O
- 1
Can you give me full example