"Sign Up Form"
Bootstrap 3.3.0 Snippet by prakash044

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-sm-12"> <div class="form-wrapper"> <div class="my-form"> <div class="col-sm-6 no-padding"> <div class="info"> <div id="carousel-id" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-id" data-slide-to="0" class=""></li> <li data-target="#carousel-id" data-slide-to="1" class=""></li> <li data-target="#carousel-id" data-slide-to="2" class="active"></li> </ol> <div class="carousel-inner"> <div class="item"> <img src="https://cdn2.iconfinder.com/data/icons/thesquid-ink-40-free-flat-icon-pack/64/envelope-2-128.png" class="img-responsive center-block" alt=""> <div class="container"> <div class="carousel-caption"> <p>display properly due to web browser security rules.</p> </div> </div> </div> <div class="item"> <img src="https://cdn2.iconfinder.com/data/icons/thesquid-ink-40-free-flat-icon-pack/64/cup-128.png" class="img-responsive center-block" alt=""> <div class="container"> <div class="carousel-caption"> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> </div> </div> </div> <div class="item active"> <img src="https://cdn2.iconfinder.com/data/icons/thesquid-ink-40-free-flat-icon-pack/64/headphone-big-128.png" class="img-responsive center-block" alt=""> <div class="container"> <div class="carousel-caption"> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> </div> </div> </div> </div> </div> </div> </div> <div class="col-sm-6 form-bg"> <div class="main-form"> <div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#login" aria-controls="login" role="tab" data-toggle="tab">Login</a> </li> <li role="presentation"> <a href="#signup" aria-controls="signup" role="tab" data-toggle="tab">Signup</a> </li> </ul> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="login"> <form action="" method="get" accept-charset="utf-8"> <input class="form-control" type="email" name="" value="" placeholder="Email Address"> <input class="form-control" type="password" name="" value="" placeholder="Password"> <div class="checkbox"><input type="checkbox" name="" value=""> Remember. <a href="" title="">Forgot Password?</a></div> <input class="btn btn-submit" type="submit" name="" value="Login"> </form> </div> <div role="tabpanel" class="tab-pane" id="signup"> <form action="" method="get" accept-charset="utf-8"> <input class="form-control" type="text" name="" value="" placeholder="Full Nmae"> <input class="form-control" type="email" name="" value="" placeholder="Email Address"> <input class="form-control" type="text" name="" value="" placeholder="Phone Number"> <input class="form-control" type="password" name="" value="" placeholder="Password"> <div class="checkbox"><input type="checkbox" name="" value=""><a href="" title="">Send me Newsletter</a></div> <input class="btn btn-submit" type="submit" name="" value="Sign up"> </form> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div>
body{ padding: 100px 0; } .no-padding{ padding: 0; } .form-wrapper{ max-width: 767px; background: #fc80b2; margin: 0 auto; position: relative; overflow: hidden; padding: 100px 0; } .form-wrapper:after{ content: ''; display: block; position: absolute; width: 200%; height: 75%; left: -7%; bottom: 0; z-index: 1; background: #f0f0f0; transform:rotate(-30deg); } @media(max-width: 767px){ .form-wrapper:after{ height: 40%; left: -7%; } } @media(max-width: 540px){ .form-wrapper:after{ height: 25%; } } @media(max-width: 340px){ .form-wrapper:after{ height: 20%; } } .form-wrapper .my-form{ width: 80%; overflow: auto; margin: 0 auto; background: #fc73b2; position: relative; z-index: 9; box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); } .my-form .info{ padding: 15px; height: 100%; } .my-form .info .carousel-caption{ margin: 0; padding: 0; bottom: 50px; right: 0; left: 0; } .my-form .carousel-indicators .active{ background: rgba(0, 0, 0, 0.5); border-color: rgba(0, 0, 0, 0.5) } .my-form .item{ padding: 60px 0; min-height: 300px; } .my-form .form-bg{ background: #fff; } .main-form .nav > li{ width: 50%; } .main-form .nav-tabs > li > a{ border-radius: 0; display: inline-block; width: 100%; text-align: center; outline: 0; text-transform: uppercase; color: #fc80b2; font-weight: 600; font-size: 13px; } .main-form .nav-tabs > li > a:hover{ color: #fc80b2; } .main-form .form-control{ margin-top: 15px; height: 50px; border-radius: 0; box-shadow: none; border:1px solid #f0f0f0; } .main-form .form-control:focus{ border-color: #fc80b2; } .main-form .checkbox{ margin-left: 20px; color: #999; } .main-form .checkbox a{ color: #fc80b2; } .main-form .btn-submit{ display: block; background: #fc80b2; color: #fff; border-radius: 0; width: 100%; text-transform: uppercase; margin-top: 15px; padding: 12px; } .main-form .tab-content{ padding: 60px 0; }
$('input,textarea').focus(function(){ $(this).data('placeholder',$(this).attr('placeholder')) $(this).attr('placeholder',''); }); $('input,textarea').blur(function(){ $(this).attr('placeholder',$(this).data('placeholder')); });

Related: See More


Questions / Comments: