Social Buttons made in pure CSS based on Bootstrap and Font Awesome!
If you haven't done that already, include Bootstrap 2 and Font Awesome in your project.
You have two options for enabling the social buttons in your project:
vanilla CSS or source LESS. For vanilla CSS, just include the
compiled CSS file from the /css
in the repository.
For LESS, copy over the .less file from /less
into
your existing Bootstrap directory. Then import it into
bootstrap.less
via
@import "bootstrap-social.less";
. Recompile when ready.
After you've added the CSS, you can get to using the buttons as you've normally do with the Bootstrap buttons that have an icon by adding the relevant class. For example:
<a class="btn btn-block btn-twitter"> <i class="icon-twitter"></i> Sign in with Twitter </a>