+ 6

How to use CSS to make text blink

In the CSS lesson it says you can. Does the SoloLearn browser not support it?

14th Apr 2018, 9:06 PM
🐺Michael🐺
🐺Michael🐺 - avatar
2 odpowiedzi
+ 2
Yes, you can through CSS3 Animations. p{ color: black; animation-name: colorchange; animation-duration: 0.5s; -webkit-animation-name: colorchange; -webkit-animation-duration: 0.5s; animation-iteration-count: infinite; } @keyframes colorchange { 0% {color: red; } 50% {color: green; } 100% {color: blue; } } @-webkit-keyframes colorchange { 0% {color: red; } 50% {color: green; } 100% {color: blue; } } Good luck!
14th Apr 2018, 9:43 PM
Razvan Wist
Razvan Wist - avatar