How to blink text in html for various browsers
The blink() method is not standard, and may not work as expected in all browsers.The blink() method is used to display a blinking string.
This method returns the string embedded in the <blink> tag, like this:
<blink>string</blink>
Note: The blink() method only works in Opera. It is not supported in Internet Explorer, Firefox, Chrome, or Safari.
So alternatively we can try this below:
<span class="blink_text">India's Largest portal is Meetcity.in</span> <style type="text/css"> .blink_text { -webkit-animation-name: blinker; -webkit-animation-duration: 1s; -webkit-animation-timing-function: linear; -webkit-animation-iteration-count: infinite; -moz-animation-name: blinker; -moz-animation-duration: 1s; -moz-animation-timing-function: linear; -moz-animation-iteration-count: infinite; animation-name: blinker; animation-duration: 1s; animation-timing-function: linear; animation-iteration-count: infinite; color: red; } @-moz-keyframes blinker { 0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; } } @-webkit-keyframes blinker { 0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; } } @keyframes blinker { 0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; } } </style>
Related Posts:
1. 413 “Request Entity Too Large” error with uploading a file
2. Difference between cookies and sessions in php
3. How to create a .webp image in PHP
4. How to expire PHP session after a period of time
5. How to resolved when Logged out sessions get restored by back button
6. why javascript contains property is not working in chrome browser
7. what are the differences between json and jsonp
8. Abstract Class in Php
1. 413 “Request Entity Too Large” error with uploading a file
2. Difference between cookies and sessions in php
3. How to create a .webp image in PHP
4. How to expire PHP session after a period of time
5. How to resolved when Logged out sessions get restored by back button
6. why javascript contains property is not working in chrome browser
7. what are the differences between json and jsonp
8. Abstract Class in Php