"Cashier Login Form"
Bootstrap 3.1.0 Snippet by vashX30a

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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="container" id="formContainer"> <form class="form-signin" id="login" role="form"> <h3 class="form-signin-heading">Cashier Login</h3> <input type="text" class="form-control" name="cashierId" id="cashierId" placeholder="Username" required autofocus> <input type="password" class="form-control" name="loginPass" id="loginPass" placeholder="Password" required> <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button> </form> </div> <!-- /container --> </div> </div>
body { padding-top: 40px; padding-bottom: 40px; background-color: #ddd; } .form-signin {3333 max-width: 330px; padding: 15px; margin: 0 auto; background-color: #f3f3f3; } .form-signin .form-signin-heading, .form-signin .checkbox { margin-bottom: 10px; } .form-signin .checkbox { font-weight: normal; } .form-signin .form-control { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position: relative; font: 15px 'Segoe UI',Arial,sans-serif; background-color: #EAEBE5; height: auto; padding: 10px; color:#7e8c8d; outline:none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .form-signin .form-control:focus { z-index: 2; } .form-signin input[type="email"] { margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .form-signin input[type="password"] { margin-bottom: 10px; border-top-left-radius: 0; border-top-right-radius: 0; } #recover input[type="email"] { margin-bottom: 10px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } /*___________________________________*/ .container { border-top: 2px solid #aaa; box-shadow: 0 2px 10px rgba(0,0,0,0.8); width:288px; height:321px; margin:0 auto; position:relative; z-index:1; -moz-perspective: 800px; -webkit-perspective: 800px; perspective: 800px; } .container form { width:100%; height:100%; position:absolute; top:0; left:0; /* Enabling 3d space for the transforms */ -moz-transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; /* When the forms are flipped, they will be hidden */ -moz-backface-visibility: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; /* Enabling a smooth animated transition */ -moz-transition:0.8s; -webkit-transition:0.8s; transition:0.8s; } .form-signin { z-index:100; } /* Enabling 3d space for the transforms */ -moz-transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; /* When the forms are flipped, they will be hidden */ -moz-backface-visibility: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; /* Enabling a smooth animated transition */ -moz-transition:0.8s; -webkit-transition:0.8s; transition:0.8s; } #login{ background: #f3f3f3; z-index: 100; } #recover:before { /* The "Click here" tooltip */ width:100px; height:26px; content:'Sign in ->'; position:absolute; right:270px; top:15px; } #recover{ background:#f3f3f3; z-index:1; /* Rotating the recover password form by default */ -moz-transform:rotateY(180deg); -webkit-transform:rotateY(180deg); transform:rotateY(180deg); } #forkongithub a { box-sizing: content-box; background:#ddd; color:#fff; text-decoration:none; font-family:arial, sans-serif; text-align:center; font-weight:bold; padding:5px 40px; font-size:1rem; line-height:2rem; position:relative; transition:0.5s; } #forkongithub a:hover { background:#aaa; color:#fff; } #forkongithub a::before, #forkongithub a::after { content:""; width:100%; display:block; position:absolute; top:1px; left:0; height:1px; background:#fff; } #forkongithub a::after { bottom:1px; top:auto; } @media screen and (min-width:800px){ #forkongithub { position:absolute; display:block; top:0; right:0; width:200px; overflow:hidden; height:200px; } #forkongithub a { width:200px; position:absolute; top:60px; right:-60px; transform:rotate(45deg); -webkit-transform:rotate(45deg); box-shadow:2px 2px 10px rgba(0,0,0,0.8); } }

Related: See More


Questions / Comments: