- 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

9th Aug 2017, 1:10 PM
Hussien Saif
Hussien Saif - avatar
4 Answers
+ 5
Not only full example, but improved one: https://code.sololearn.com/WPx273ALJBpm/#css
9th Aug 2017, 1:54 PM
visph
visph - avatar
+ 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 ^^
9th Aug 2017, 1:16 PM
visph
visph - avatar
- 1
O
9th Aug 2017, 1:11 PM
Hussien Saif
Hussien Saif - avatar
- 1
Can you give me full example
9th Aug 2017, 1:46 PM
Hussien Saif
Hussien Saif - avatar