Simplicity is the ultimate form of sophistication.
Leonardo da Vinci
Button styles can be applied to anything with the .bbtn
class. However, typically you'll want to apply these to only <a>
and <div>
elements for the best rendering.
First of all you should <link>
to bbtn.css
<link rel="stylesheet" href="path-to/bbtn.css">
by using only the <a>
tag
<a href="#" class="bbtn" role="button">button-text</a>
by using the <a>
and <div>
tags
<a href="#"><div class="bbtn" role="button">button-text</div></a>
For the icons I used Font Awesome. It gives you scalable vector icons that can instantly be customized. It's in the demo/plugin/font-awesome folder. Visit It's website to learn more.
To add new color, open bbtn.css and scroll down to bbtn colors section. Copy the code below and follow the instructions.
.bbtn.<color-name> /* Replace <color-name> with your color name */ { background-color: #3498db; /* change background-color */ border-bottom-color: #2980b9; /* change border bottom color */ color: #ffffff !important; /* change button's text color but "!important" should stay */ } .bbtn.<color-name>:active { /* Replace <color-name> with your color name */ background-color:#2980b9; /* use as the same color of "border-bottom-color" */ }