Skip to content


Subversion checkout URL

You can clone with
Download ZIP
CSS3 Social Sign-in Buttons with icons. Small and large sizes.
Pull request Compare This branch is 7 commits behind necolas:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

CSS3 Social Sign-in Buttons

by Nicolas Gallagher

Standard buttons

To create the default sign-in button, add a class of btn-auth and btn-[service] (where [service] is one of the supported social sign-in services) to any appropriate element (most likely an anchor).

<a class="btn-auth btn-[service]" href="#">
    Sign in with <b>[service]</b>

Larger buttons

To create large buttons include an additional class of large

<a class="btn-auth btn-[service] large" href="#">
    Sign in with <b>[service]</b>

Supported services

  • Facebook
  • GitHub
  • Google
  • OpenID
  • Twitter
  • Windows Live ID
  • Yahoo!

Source code

Available on GitHub: necolas/css3-social-signin-buttons

Download it in either zip or tar formats.

Clone the project with Git by running: $ git clone git://

Browser compatibility

Full support: Google Chrome, Firefox 3.5+, Safari 4+, IE 10+, Opera 11.10+.

Note: Some CSS3 enhancements are not supported in older versions of Opera and IE. The use of icons is not supported in IE 6 or IE 7.


Public domain:

Something went wrong with that request. Please try again.