"Simple Login Form"
Bootstrap 3.0.0 Snippet by gnath

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ----------> <br> <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <form action="#" method="post" class="form-horizontal"> <div class="get-in-touch"> <h3 class="text-center">What are you waiting for! Sign in now!</h3> <hr/> <div class="form-group"> <label for="inputEmail3" class="col-sm-2 control-label">Mail Id</label> <div class="col-sm-10"> <input type="email" class="form-control" id="txtUsernane" placeholder="someone@example.com"> </div> </div> <div class="form-group"> <label for="inputEmail3" class="col-sm-2 control-label">Password</label> <div class="col-sm-10"> <input type="password" class="form-control" id="txtPassword" placeholder="**************"> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <a href="http://www.jquery2dotnet.com" class="btn btn-danger btn-sm pull" role="button">Sign in</a> </div> </div> </div> </form> </div> </div> </div>
body{background-color: #FbFbFb; background-image: linear-gradient(to bottom, #FbFbFb, #f3f3f3);} .get-in-touch { position: relative; margin: 0 auto; padding: 30px; border-radius: 2px; background: rgb(255, 255, 255) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAGCAYAAACFIR03AAAAV0lEQVR42tXOMRWAQAwE0RWFDRTg5d47Jeg4Q9gI06RbqlwKil/P6LpXbDCf85AxEBtMGjKG/jyPUHUerfP4nEeoOo/Wedj5pOo8Wudh55Oq82idh51PLxpvled7kLAXAAAAAElFTkSuQmCC) repeat-x; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .get-in-touch input[type=text],.get-in-touch input[type=email],.get-in-touch input[type=password], .get-in-touch textarea { background: rgb(235, 241, 245); color: rgb(36, 39, 41); } .get-in-touch input:focus, .get-in-touch textarea:focus { outline: 0; background: #FFF; }

Related: See More


Questions / Comments: