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
3.5 (2)
Article Rating (2 Votes)
Rate this article
Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
jDigiClock - HTC Hero Style jQuery Digital Clock
Viewed 1243 times since Tue, Feb 16, 2010
Open Source Online Invoice System - siwapp
Viewed 1517 times since Thu, Jan 7, 2010
Free 3D Flash Image Slider - Piecemaker
Viewed 1961 times since Sun, Apr 4, 2010
How to prevent access to a specific file on server using htaccess?
Viewed 1184 times since Sun, Mar 14, 2010
Facebook Style Chat Script - ArrowChat
Viewed 1266 times since Tue, Aug 3, 2010
Tiny Flash MP3 Audio Player
Viewed 1129 times since Wed, Jan 6, 2010
UI Patterns - User Interface Design Pattern Library
Viewed 1333 times since Thu, Dec 31, 2009
Google Skipfish - Web Application Security Scanner
Viewed 1294 times since Mon, Mar 22, 2010