0

animation

how can i add animation to the icons and text with color change

20th Sep 2016, 11:17 AM
Ahmed Kamal
Ahmed Kamal - avatar
1 Answer
0
You can use, tranition like: p { color:blue; tranistion-property:color; transition-duration:2s; p:hover { color:green; } color:black } -------it works fine with pseudoclass like :hover :link :focus....--------- or you can use animation like: @keyframes example { from { color:blue; } to { color:green; } } p { animation-name: example; animation-duration: 4s; animation-interation-count:infinity;/*-------it will ALWAYS animate-------*/ animation-direction:alternate; }
24th Sep 2016, 10:41 AM
Piotr Ɓaszczych
Piotr Ɓaszczych - avatar