Login and register form

This bootstrap snippet called "Login and register form" was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code
tags: form,login,register,input

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="col-sm-10 col-sm-push-1 col-md-6 col-md-push-3 col-lg-6 col-lg-push-3">
  <h2 class="text-primary center m-a-2">
     <span class="icon-text">Admin Plus</span>
  </h2>
  <div class="card-group">
    <div class="card bg-transparent">
      <div class="card-block">
        <div class="center">
          <h4 class="m-b-0"><span class="icon-text">Login</span></h4>
          <p class="text-muted">Access your account</p>
        </div>
        <form action="index.html" method="get">
          <div class="form-group">
            <input type="email" class="form-control" placeholder="Email Address">
          </div>
          <div class="form-group">
            <input type="password" class="form-control" placeholder="Password">
            <a href="#" class="pull-xs-right">
              <small>Forgot?</small>
            </a>
            <div class="clearfix"></div>
          </div>
          <div class="center">
            <button type="submit" class="btn  btn-primary-outline btn-circle-large">
              <i class="material-icons">lock</i>
            </button>
          </div>
        </form>
      </div>
    </div>
    <div class="card">
      <div class="card-block center">
        <h4 class="m-b-0">
          <i class="material-icons">person_add</i> <span class="icon-text">Sign Up</span>
        </h4>
        <p class="text-muted">Create a new account</p>
        <form action="index.html" method="get">
          <div class="form-group">
            <input type="text" class="form-control" placeholder="Full Name">
          </div>
          <div class="form-group">
            <input type="email" class="form-control" placeholder="Email">
          </div>
          <div class="form-group">
            <input type="password" class="form-control" placeholder="Password">
          </div>
          <div class="form-group">
            <input type="password" class="form-control" placeholder="Confirm Password">
          </div>
          <button type="submit" class="btn btn-primary btn-rounded">Register</button>
        </form>
      </div>
    </div>
  </div>
</div>

CSS code

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{margin-top:20px;}

.card {
    position: relative;
    background-color: #fff;
    border: 1px solid #fbe7e7;
    border-radius: 3px;
}

.card, .list-group {
    margin-bottom: 1.25rem;
}

.card {
    box-shadow: 0 2px 3px rgba(0,0,0,.05);
}

@media (min-width: 544px) {
.card-group .card {
    display: table-cell;
    vertical-align: top;
}
}

@media (min-width: 544px) {
.card-group .card+.card {
    margin-left: 0;
    border-left: 0;
}
}

@media (min-width: 544px) {
.card-group .card:last-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
}

.card-group {
    margin-bottom: 1.25rem;
}

@media (min-width: 544px){
.card-group {
    display: table;
    width: 100%;
    table-layout: fixed;
}
}

@media (min-width: 544px) {
.card-group .card:first-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
}

.card>.card-block>:last-child, .card>:last-child {
    margin-bottom: 0!important;
}

.card-block {
    padding: 1.25rem;
}

.center {
    text-align: center;
}
.m-a-2 {
    margin: 1.5rem!important;
}
.text-primary {
    color: #EF5350!important;
}
                                    

Similar snippets

Bootstrap snippet Edit profile page

Edit profile page

View

Bootstrap snippet Blog Comments With Form

Blog Comments With Form

View

Bootstrap snippet bs4 beta login

bs4 beta login

View

About this snippet

Creator: Dey Dey

Bootstrap version: 3.3.6

Created: Apr 27th 2016, 23:29

Views: 247