css github buttons

CSS3 github buttons is awesome button style, this is similar button in github.com, helps you easily create GitHub-style buttons from links, buttons, and inputs. this article is example for use github style button as written in rails code
http://nicolasgallagher.com/lab/css3-github-buttons/
for example:

<a class="button" href="#">Get Started</a>

and

<%=  button_to 'Add to Cart', line_items_path(product_id: product), :class => "button big" %>
<%= f.submit "Create Product", :class => "button big"%>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s