Article Diary - General Knowledge Digest

Create Glowing, Radioactive Buttons with CSS

Create awesome looking and engaging buttons by using CSS animations to give them all that radioactive feel. Using CSS animations in Safari and Google Chrome, we’re able to turn an otherwise ordinary button into a glowing, radioactive mess of awesome. Don’t see the radioactive above? Be sure you’re in Safari or Chrome before getting underway.

Radioactive CSS Buttons

WOW! How do you do it?

For each button, we specify three things:
  1. Animation name (we’ll show this later)
  2. Animation duration
  3. And the number of times it repeats (iteration count)
You can see how these come together on the right. The CSS calls a pre-defined animation you create, assigns it a duration, and tells it how long to repeat. Pretty sweet, right? To make it work, we first specify all our button styles and then we added the shadows. Now, in the animation, we switch from a box-shadow that matches the background color to the color of the button to give it the glowing effect.

Requirements: Safari or Chrome Browser
License: License Free

Online Demo
Attached Files
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Security Code Security Code
Related Articles RSS Feed
How to redirect an old domain to a new domain using htaccess?
Viewed 831 times since Sun, Mar 14, 2010
ICEpdf - Open Source Java PDF Library
Viewed 1276 times since Wed, Jan 6, 2010
How to change default web page using htaccess?
Viewed 1300 times since Sun, Mar 14, 2010
Before and After Picture - jQuery Plugin
Viewed 1329 times since Tue, Dec 29, 2009
jQuery Dropdown Check List
Viewed 1357 times since Thu, Jan 14, 2010
Free JavaScript Charts Library - JS Charts
Viewed 1035 times since Sun, Dec 13, 2009
Review of Mobile Web Application Frameworks
Viewed 1361 times since Mon, May 9, 2011
TinyBox - JavaScript Lightweight Modal Window Popup Script
Viewed 1399 times since Fri, Jan 8, 2010
Free JavaScript Date Picker - jsDatePick
Viewed 1344 times since Fri, Apr 9, 2010
What is new in HTML 5?
Viewed 1049 times since Sat, Apr 3, 2010