How do I make the text slide across the div when the div opens? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

How do I make the text slide across the div when the div opens?

I can't believe I lost my practice with css but how do you make the text slide across the div as the div is transitioning? Also, how do you make the other div stay open when the other div is transitioning? https://code.sololearn.com/W9ZQnwZl6UJn/?ref=app

7th May 2019, 8:03 PM
Coder
Coder - avatar
2 Answers
+ 1
If you know css and Javascript, use javascript onload.
7th May 2019, 9:23 PM
Ginfio
Ginfio - avatar
+ 1
Check out the animation of text output using css only https://code.sololearn.com/WcGGa76NevFQ/?ref=app
8th May 2019, 1:13 AM
Calviղ
Calviղ - avatar