Can animation effects be applied to font colors or just the background?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Can animation effects be applied to font colors or just the background??

23rd May 2018, 8:27 AM
Sam Well
Sam Well - avatar
11 Answers
24th May 2018, 3:15 AM
Code_Magician❤
Code_Magician❤ - avatar
+ 17
Sam Well Yea 😂😅 Well as browsers develop, we may not need them but for now.... we'll have to do it ^^
23rd May 2018, 10:20 AM
Nikhil
Nikhil - avatar
+ 15
Sam Well It works for me without that too but it's a good practice to use those "prefixes" (as shown in the CSS lessons here) as it secures the animation to work in many browsers.. [EDIT] - Link to lesson ~ https://www.sololearn.com/learn/CSS/2237/
23rd May 2018, 10:11 AM
Nikhil
Nikhil - avatar
+ 12
Yes they can be applied on anything... Here's an example for font color ~ https://code.sololearn.com/Wfz9CF4dwA74/?ref=app
23rd May 2018, 10:03 AM
Nikhil
Nikhil - avatar
+ 4
thank you.....and please is it optional to always add the -webkit-keyframes anim or its mandatory Nikhil
23rd May 2018, 10:08 AM
Sam Well
Sam Well - avatar
+ 4
Nikhil so for some of your properties to be working on unsupported browsers you need to be repeating it and adding those prefixes😤
23rd May 2018, 10:19 AM
Sam Well
Sam Well - avatar
+ 3
can you please do a sample for me.....an animation code changing font color
23rd May 2018, 9:07 AM
Sam Well
Sam Well - avatar
+ 3
Nikhil Yea you right.....thanks anyway👍
23rd May 2018, 10:26 AM
Sam Well
Sam Well - avatar
+ 2
yes animation effects applied to font colors also ....
24th May 2018, 3:14 AM
Code_Magician❤
Code_Magician❤ - avatar
+ 2
Yes. Such as flashing colors rotating etc
25th May 2018, 8:40 AM
Apple Blossom
Apple Blossom - avatar
0
yes it can
23rd May 2018, 2:11 PM
Ehijie
Ehijie - avatar