CSS3 - Buttons - no graphics and no extra markup!
27 January 2010
Aqua buttons
Black Aqua
Red Aqua
Blue Aqua
Green Aqua
Vista buttons
Black Vista
Red Vista
Blue Vista
Green Vista
copyright © stu nicholls - CSS play
Information
Now we are on a roll :)
This demonstration works in Firefox, Safari and Google Chrome and shows how to style buttons using just border radius, drop shadows and gradient fills.
No graphics have been used in this demo and no extra markup. If you wanted to be adventurous you could also add a hover state change of gradient fill to give an illumination effect.
When Opera support transitions I will add this to the demo, and when IE9 is released we will see if that too will support any CSS3 styles.
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.




