joshuaclayton / blueprint-css

A CSS framework that aims to cut down on your CSS development time

This URL has Read+Write access

blueprint-css / blueprint / plugins / buttons / readme.txt
100644 33 lines (21 sloc) 0.921 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Buttons
 
* Gives you great looking CSS buttons, for both <a> and <button>.
* Demo: particletree.com/features/rediscovering-the-button-element
 
 
Credits
----------------------------------------------------------------
 
* Created by Kevin Hale [particletree.com]
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
 
 
Usage
----------------------------------------------------------------
 
1) Add this plugin to lib/settings.yml.
   See compress.rb for instructions.
 
2) Use the following HTML code to place the buttons on your site:
 
<button type="submit" class="button positive">
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
</button>
 
<a class="button" href="/password/reset/">
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
</a>
 
<a href="#" class="button negative">
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
</a>