Bootstrap Login Form

In this tutorial, you'll learn how to create a responsive login form using Bootstrap.

These bootstrap login forms are quite easy to create and customize. In this example I have included the login which you can easily create, let’s get started.

I’ve used Bootstrap V 3.3.7 – download it here. Otherwise, you can use the CDN if you don’t want to download.

This login form you can edit and customize to use which you want.

Code Example:
<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Bootstrap Login Form</title>
  <link href="" rel="stylesheet">
  <style type="text/css">
     body{background-color: #f1f1f1;}
  	width: 350px;
	margin: 120px auto;
	padding: 25px 20px;
	background: #3a1975;
	box-shadow: 2px 2px 4px #ab8de0;
	border-radius: 5px;
	color: #fff;
     .bslf h2{
  	margin-top: 0px;
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-radius: 10px;
	border: 1px solid #25055f;
     .bslf a{color: #783ce2;}
     .bslf a:hover{
  	text-decoration: none;
    	color: #03A9F4;
     .bslf .checkbox-inline{padding-top: 7px;}
  <div class="bslf">
    <form action="" method="post">
      <h2 class="text-center">Please login</h2>       
      <div class="form-group">
        <input type="text" class="form-control" placeholder="Username" required="required">
      <div class="form-group">
        <input type="password" class="form-control" placeholder="Password" required="required">
      <div class="form-group clearfix">
      	<label class="checkbox-inline pull-left"><input type="checkbox"> Remember me</label>
        <button type="submit" class="btn btn-primary pull-right">Log in</button>
      <div class="clearfix">
        <a href="#" class="pull-left">Forgot Password?</a>
        <a href="#" class="pull-right">Create an Account</a>

  <script src=""></script>
  <script src=""></script>