After today's news that the <blink> tag will be deprecated in Firefox, I decided to re-implement it in html5 / CSS3 (no Javascript required). Now it's all modern again, you are free to use <blink> liberally in your web application.

<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
blink
{
animation:blink 1s;
animation-iteration-count: infinite;
-webkit-animation:blink 1s;
-webkit-animation-iteration-count: infinite;
}
@keyframes blink
{
0%{opacity:0.0;}
50%{opacity:0.0;}
50.01%{opacity:1.0;}
100%{opacity:1.0;}
}
@-webkit-keyframes blink
{
0%{opacity:0.0;}
50%{opacity:0.0;}
50.01%{opacity:1.0;}
100%{opacity:1.0;}
}
</style>
</head>
<body>

The <blink>Blink Tag</blink>, re-implemented!

</body>
</html>

Be sure to give attribution for the above code, so your users will know where to go to thank me…

Edit: Just to demonstrate that it works!

Inspect the code if you don't believe me...

This blog post was posted to It's All Geek to Me on Wednesday August 7th, 2013 at 1:21PM
 

1 Response to "Resurrecting the blink tag"

  • nonono
    August 8th, 2013, 5:59 p.m.

    The blink tag?

    You are made out of used motor oil and evil.

Leave a Comment

You can use bbcode in the comment: e.g. [b]This is bold[/b], [url]http://www.willmcgugan.com[/url], [code python]import this[/code]
Preview Posting...
Previewing comment, please wait a moment...
Will McGugan

My name is Will McGugan. I am an unabashed geek, an author, a hacker and a Python expert – amongst other things!

You are reading my tech blog. See the homepage for my other blogs.

Search for Posts
Possibly related posts
Tags
Popular Tags
 
Archives
2015
 
Recent Comments
Why another framework? what wrong with django, pyramid, flask?will be have answer for this question in the docs)
Hi! Really great code, good work! But trying to use it on a responsive site, it didn't resize images. So, ...
using of a recursion: def thousands_with_commas(i): def _recurse(n): x, y = divmod(n, 1000) if x 1000: return [x, y] return ...
#1 import string from collections import Counter def tagwords(): tagcounter = Counter() with open(tagwords.txt, r) as wordfile: words = list(filter(None, ...
- the jeffster on Python Coder Test
This is because mod_wsgi does not pass OS environment variables to the underlying application by default
 
© 2008 Will McGugan.

A technoblog blog, design by Will McGugan