Creating buttons with this CSS framework is simple. Just link the buttons.css file in your header section of your site like this:
<link rel="stylesheet" href="/path/to/buttons.css" type="text/css" media="all" />
To create a button, just apply the .button class to an "a" element. This makes a default medium size blue button.
Buttons are available in four sizes: Tiny Small Medium Large
You can add color and size options as css classes to customize your brand new button! See the matrix below:
| CSS matrix | .tiny |
.small |
.medium |
.large |
|---|---|---|---|---|
.grey |
||||
.black |
||||
.purple |
||||
.blue |
||||
.green |
||||
.orange |
||||
.red |
||||
.pink |
To create a nice medium sized purple button like this you just write this code:
<a href="http://example.com" class="medium purple button" />
So easy.
Download the .css file and start playing! It is free!
Got an idea how to improve Buttons? Have color suggestions? Drop me a line here: buundy@gmail.com
macrabbit.com - for creating the awesome application Espresso and for the inspirational Download button on their site ;)
apple.com - for giving super usable computers to mankind