The SquareMile template uses jQuery to create elegant beveled buttons from links and form buttons. To create a beveled button you only have to add a few CSS classes to the <a> tag or <input> tag and jQuery will do the rest.
In the minimal setup you will have to add to your HTML tag two classes:
jbtn + class-defining-button-size-and-style
To create a button like this use following code:
<a href="#" class="jbtn jbtn-medium-normal">jbtn-medium-normal</a>
This template gives you the choice of 3 button sizes and 3 styles:
jbtn-small-normal jbtn-small-neutral jbtn-small-specialjbtn-margin or jbtn-margin-small.jbtn-inset.<a> tag<a href="#" class="jbtn jbtn-small-normal jbtn-margin">This is a link button</a>
<input> tag with type submit<input type="submit" class="jbtn jbtn-small-normal jbtn-margin" value="This is a form submit button" />
<input> tag with type reset<input type="reset" class="jbtn jbtn-small-normal jbtn-margin" value="This is a form reset button" />
<button> element<input type="button" class="jbtn jbtn-small-normal jbtn-margin" value="This is a form button element" />
Copyright © studio:mw 2010, All Rights Reserved
SquareMile Template