Bootstrap snippet and html example. Social network login with buttons

Bootstrap 3.0.0 snippet "Social network login with buttons" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: buttons

HTML code

Clean, semantic HTML that powers this Bootstrap 3.0.0 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css" rel="stylesheet">

<div class="container bootstrap snippets bootdey">
      
      <script id="metamorph-1-start" type="text/x-placeholder"></script><script id="metamorph-21-start" type="text/x-placeholder"></script>

    <div class="container text-center">
	    <form class="form-signin" data-ember-action="2">
	    	<h2 class="form-signin-heading">Sign in</h2>

			<small class="text-muted">Connect [your service] with your favorite social network</small>
			<br><br>

			
<p>
<a class="btn btn-primary social-login-btn social-facebook" href="#/auth/facebook"><i class="fa fa-facebook"></i></a>
<a class="btn btn-primary social-login-btn social-twitter" href="#/auth/twitter"><i class="fa fa-twitter"></i></a>
</p>
<p>
<a class="btn btn-primary social-login-btn social-linkedin" href="#/auth/linkedin"><i class="fa fa-linkedin"></i></a>
<a class="btn btn-primary social-login-btn social-google" href="#/auth/google"><i class="fa fa-google-plus"></i></a>
</p>

<div class="btn-group social-login-more">
  <button type="button" class="btn btn-default dropdown-toggle btn-block" data-toggle="dropdown">
    More...
  </button>
  <ul class="dropdown-menu text-left " role="menu">
    <li><a href="#"><i class="fa fa-tumblr-sign"></i>   Tumblr</a></li>
    <li><a href="#"><i class="fa fa-github-alt"></i>   Github</a></li>
    <li><a href="#"><i class="fa fa-dropbox"></i>   Dropbox</a></li>
    <li><a href="#/auth/amazon"><span class="zocial-amazon"></span>   Amazon</a></li>
    <li><a href="#"><span class="zocial-bitbucket"></span>   Bitbucket</a></li>
    <li><a href="#"><span class="zocial-evernote"></span>   Evernote</a></li>
    <li><a href="#"><span class="zocial-meetup"></span>   Meetup</a></li>
    <li><a href="#"><i class="fa fa-windows"></i>   Windows Live</a></li>
    <li><a href="#"><i class="fa fa-weibo"></i>   Weibo</a></li>
    <li><a href="#"><i class="fa fa-foursquare"></i>   Foursquare</a></li>
    <li><a href="#"><i class="fa fa-stackexchange"></i>   Stack Exchange</a></li>
    <li><a href="#"><i class="fa fa-trello"></i>   Trello</a></li>
    <li><a href="#"><span class="zocial-wordpress"></span>   Wordpress</a></li>
  </ul>
</div>
<br><br>


		    <small class="text-muted">Or sign in with [your service]</small>
		    <br><br>
	    	
	        <input id="ember360" class="ember-view ember-text-field form-control login-input" placeholder="Email Address" type="text">
	        <input id="ember361" class="ember-view ember-text-field form-control login-input-pass" placeholder="Password" type="password">

	        <script id="metamorph-22-start" type="text/x-placeholder"></script><script id="metamorph-22-end" type="text/x-placeholder"></script>

	        <button class="btn btn-lg btn-primary btn-block btn-center" type="submit" data-bindattr-3="3">Sign in</button>
	        <br>
	        <small class="create-account text-muted">Dont have a [your service] or social network account? <button id="ember363" class="ember-view btn btn-sm btn-default"> Sign Up </button> </small>
	    </form>
    </div>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.0.0 to keep the design, spacing, and responsiveness consistent.


body{
background:#e5e5e5;
}
@import url(http://weloveiconfonts.com/api/?family=brandico|entypo|openwebicons|zocial);

/* brandico */
[class*="brandico-"]:before {
  font-family: 'brandico', sans-serif;
}

/* entypo */
[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;
}

/* openwebicons */
[class*="openwebicons-"]:before {
  font-family: 'OpenWeb Icons', sans-serif;
}

/* zocial */
[class*="zocial-"]:before {
  font-family: 'zocial', sans-serif;
}

.form-signin{
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}


.login-input {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.login-input-pass {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


.signup-input {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.signup-input-confirm {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}



.create-account {
  text-align: center;
  width: 100%;
  display: block;
}

.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.btn-center{
  width: 50%;
  text-align: center;
  margin: inherit;
}

.social-login-btn {
  margin: 5px;
  width: 20%;
  font-size: 250%;
  padding: 0;
}

.social-login-more {
  width: 45%;
}

.social-google {
  background-color: #da573b;
  border-color: #be5238;
}
.social-google:hover{
  background-color: #be5238;
  border-color: #9b4631;
}

.social-twitter {
  background-color: #1daee3;
  border-color: #3997ba;
}
.social-twitter:hover {
  background-color: #3997ba;
  border-color: #347b95;
}

.social-facebook {
  background-color: #4c699e;
  border-color: #47618d;
}
.social-facebook:hover {
  background-color: #47618d;
  border-color: #3c5173;
}

.social-linkedin {
  background-color: #4875B4;
  border-color: #466b99;
}
.social-linkedin:hover {
  background-color: #466b99;
  border-color: #3b5a7c;
}

Similar snippets

Bootstrap example and template. google plus button labels style

google plus button labels style

Bootstrap example and template. Social icons

Social icons

Bootstrap example and template. Angle buttons

Angle buttons

Bootstrap example and template. buttons colors

buttons colors

Bootstrap example and template. microsoft metro tiles bootstrap

microsoft metro tiles bootstrap

Bootstrap example and template. manage users

manage users

Bootstrap example and template. list projects

list projects

Bootstrap example and template. top item list

top item list

FAQ

How do I use this snippet?

Include Bootstrap 3.0.0, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.0.0.

Bootstrap example and template. Social network login with buttons

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 9.2K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.0.0

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.0.0 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working