Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blink not working in Chrome [duplicate]

I am using blink in my application to display error message. The problem is that it's working in Firefox but not in Chrome. I don't know what the problem is. How can I make it to work in Chrome?

like image 854
aizaz Avatar asked Mar 26 '13 20:03

aizaz


People also ask

How do I make an image blink in HTML?

You can add the . blink class to any HTML element to make it blink.

How do I make text blink in HTML?

The HTML <blink> tag is used to create a blinking text that flashes slowly.

Which HTML tag is used to blink text?

<blink>: The Blinking Text element.

Why blink tag is not working in HTML?

The <blink> tag is no longer supported and does not work in any of the new browser versions. A combination of CSS and JavaScript must be used instead to attain this effect.


1 Answers

Add following code to your css file,

blink {
-webkit-animation-name: blink; 
-webkit-animation-iteration-count: infinite; 
-webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
-webkit-animation-duration: 1s;
}
like image 124
Kishan_KP Avatar answered Oct 05 '22 04:10

Kishan_KP