The answer was here: http://www.john-smith.me/emulating--lt-blink-gt--using-webkit-css3-animation . In this example, the .blink class will do something blinking ... You need to write things twice because Chrome needs -webkit- when Firefox or Opera do not.
<style> @-webkit-keyframes blinker { from {opacity:1.0;} to {opacity:0.0;} } @keyframes blinker { from {opacity:1.0;} to {opacity:0.0;} } .blink { text-decoration:blink; -webkit-animation-name:blinker; animation-name:blinker; -webkit-animation-iteration-count:infinite; animation-iteration-count:infinite; -webkit-animation-timing-function:cubic-bezier(1.0,0,0,1.0); animation-timing-function:cubic-bezier(1.0,0,0,1.0); -webkit-animation-duration:1s; animation-duration:1s; } </style>
You can save (or not) the old blink attribute for old browsers (as you wish).
I prefer to use only -webkit- (once), and I keep the text layout as Opera and Firefox are aware of this. (For other animations there is no choice. Only for blinking, they already know how to do this).
But this is simply because I do not like to write it twice, and I am lazy. This is not advice.
source share