"Login form with social buttons"
Bootstrap 3.3.0 Snippet by Poornima Subramani

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Bootstrap 101 Template</title> <!-- Bootstrap --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> </head> <body> <div class="container" id="second-section"> <div class="row"> <div class="col-md-4 col-md-offset-4"> <div class="panel panel-default"> <div class="panel-heading text-center" id="login-title">Login</div> <div class="panel-body"> <form class="form-horizontal"> <div class="form-group"> <div class="col-md-12"> <input type="email" class="form-control" id="email" placeholder="Email"> </div> </div> <div class="form-group"> <div class="col-md-12"> <input type="password" class="form-control" id="password" placeholder="Password"> </div> </div> <div class="form-group"> <div class="col-md-4"> <button type="button" class="btn btn-danger" id="login-button">Submit</button> </div> <div class="col-md-3"> <button type="button" class="btn btn-link">Forgot Password?</button> </div> </div> <div class="col-md-6"> <button type="button" id="social-twitter" class="btn btn-primary btn-lg btn-block">Twitter</button> </div> <div class="col-md-6"> <button type="button" id="social-facebook" class="btn btn-default btn-lg btn-block">Facebook</button> </div> </form> </div> </div> </div> </div> </div> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> </body> </html>
#login-title{ background-color: #eb6161; font-size: 20px; } #login-button{ background-color: #eb6161; } #social-twitter{ background-color: #55abed; } #social-facebook{ background-color: #3b5997; } #social-twitter,#social-facebook,#login-title{ color:white; } #social-twitter,#social-facebook{ border: none!important; margin: 0; border-radius: 0 !important; }

Related: See More


Questions / Comments: