Skip to content

Instantly share code, notes, and snippets.

@tylerlee
Last active January 2, 2016 17:59
Show Gist options
  • Select an option

  • Save tylerlee/8340970 to your computer and use it in GitHub Desktop.

Select an option

Save tylerlee/8340970 to your computer and use it in GitHub Desktop.
button-sizes
# Pass the size: 'tiny' to make a smaller button
<%= the_button 'Stanard Button', '' %>
# Pass the size: 'tiny' to make a smaller button
<%= the_button 'Tiny Button', '', :size => 'tiny' %>
# The large button is used in special places like Forms
<%= the_button 'Large', '', :class => 'large' %>
# Rounded edges on a button
<%= the_button 'Round Button', '', :class => 'round' %>
# A button that stretches the width of a page
<%= the_button 'Full Width Button', '', :class => 'full-width' %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment