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.
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
ProFolio - Instantly Create Free Portfolio Website
Viewed 980 times since Sun, Jan 3, 2010
Geo-location Mapping With Google Maps API & PHP
Viewed 925 times since Mon, Apr 4, 2011
Stylish Cross-Browser CSS Buttons - Simply-Buttons v2
Viewed 701 times since Thu, Nov 12, 2009
Axiis - Open Source Data Visualization Framework
Viewed 894 times since Thu, Jan 7, 2010
What is jQuery?
Viewed 556 times since Tue, Dec 1, 2009
How to change the file type using htaccess?
Viewed 669 times since Sun, Mar 14, 2010
30 High Quality Charts & Graphs for Web Developers
Viewed 2053 times since Wed, Mar 23, 2011
PHP Interview Questions with Answers - Part 1
Viewed 731 times since Mon, Jan 11, 2010
JavaScript Tree Menu Component - jsTree Menu
Viewed 1164 times since Sat, Jan 9, 2010
Use PHP Functions In JavaScript with PHP.JS Library
Viewed 623 times since Fri, Jan 8, 2010
MENU