+ 6

[CSS] How to change text using CSS?

I have an animation and I want to change the text "Rank" every 3 seconds you can see on the sample. How would I do it? https://code.sololearn.com/WL0h1uf9v862/?ref=app

6th Jul 2018, 2:41 AM
Email Not Activated
5 ответов
+ 2
https://code.sololearn.com/W5UZIiI8XU5t/?ref=app
6th Jul 2018, 3:13 AM
Calviղ
Calviղ - avatar
+ 5
Calviղ Wow I tried this content code on CSS but it didn't work! I don't know why. But thank you for this! :O
6th Jul 2018, 3:15 AM
Email Not Activated
+ 5
Oh I see. Thank you sir! :)
6th Jul 2018, 3:18 AM
Email Not Activated
+ 2
content should be only applied on ::before or ::after pseudo selectors.
6th Jul 2018, 3:17 AM
Calviղ
Calviղ - avatar