How to change the text during animation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
21st May 2019, 2:29 AM
Naira Mishra
8 Answers
+ 7
Content is the property of css which is used to change content of element using CSS. https://codepen.io/pigne/pen/XXNrGj
21st May 2019, 3:11 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 7
Prometheus although, I tested content property on Sololearn playground which seems to be not working. https://code.sololearn.com/W5JsAe0IjJIB/?ref=app
21st May 2019, 3:19 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 7
Oh yes Prometheus, that seems legit.
21st May 2019, 3:24 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 5
Yeah if you do the CSS way you change the content property.
21st May 2019, 3:13 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
Oh wait. ⚒️Raj Chhatrala🛡️ you can only use content with the before and after pseudoelements
21st May 2019, 3:21 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
21st May 2019, 3:24 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
Thanks Raj chhatrala for your answer I got the answer
21st May 2019, 3:44 AM
Naira Mishra
+ 1
Thanks all of you
21st May 2019, 3:44 AM
Naira Mishra