Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"login"
Bootstrap 3.0.0 Snippet by
evarevirus
3.0.0
login
Preview
HTML
CSS
View Full Screen
Fork
Fork this
3.0K
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <div id="hero"> <div id="background_animate"></div> <h1>Internal Tools</h1> <span class="img_holder"> <img class="dr-glue-little" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/63425/drglue.png" alt="Dr Glue Little"> <div class="left_arm"> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/63425/left-arm.png" alt="Left Arm"> </div> <div class="right_arm"> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/63425/right-arm.png" alt="Right Arm"> </div> </span> </div> <form action="#" method="post" accept-charset="utf-8"> <div class="input_holder"> <span><i class="fa fa-user"></i></span><input type="text" name="username" placeholder="Username" required> </div> <div class="input_holder"> <span><i class="fa fa-lock"></i></span><input type="password" name="password" id="password_field" placeholder="Password" required> </div> <input type="submit" class="submit_button" value="Log in"> </form> <script> window.onload = function() { var p = document.getElementById("password_field"); p.onfocus = function() { document.querySelector(".img_holder").className += " password"; } p.onblur = function() { document.querySelector(".password").className = "img_holder"; } document.querySelector("body").className = ""; } </script>
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900); * { margin: 0; padding: 0; } html, body { height: 100%; width: 100%; font-family: "Lato"; overflow-x: hidden; } .preload * { -webkit-transition: none !important; -moz-transition: none !important; -ms-transition: none !important; -o-transition: none !important; transition: none !important; -webkit-animation: none !important; -moz-animation: none !important; -ms-animation: none !important; -o-animation: none !important; animation: none !important; } #hero { height: 350px; background: #1CB0EC; position: relative; overflow: hidden; } #hero figure { position: absolute; right: 80px; top: 100px; color: #fff; } #hero figure blockquote { font-weight: 100; } #hero h1 { font-weight: 100; color: #fff; font-size: 88px; padding-top: 60px; padding-left: 80px; } #hero span { position: absolute; bottom: -50px; width: 250px; left: 0; right: 0; margin: 0 auto; z-index: 10; } #hero .img_holder.password .left_arm img { left: 78px; bottom: 47px; } #hero .img_holder.password .right_arm img { right: 86px; bottom: 47px; } #hero .img_holder.password:before { left: 78px; bottom: 105px; } #hero .img_holder.password:after { right: 85px; bottom: 105px; } #hero .img_holder img.dr-glue-little { width: 250px; z-index: 10; } #hero .img_holder:before { content: ''; position: absolute; height: 20px; width: 40px; background: #E9C09B; left: 10px; bottom: 40px; z-index: 999; border-radius: 100%; transition: 1s; -webkit-transition: 1s; -moz-transition: 1s; } #hero .img_holder:after { content: ''; position: absolute; height: 20px; width: 40px; background: #E9C09B; right: 10px; bottom: 40px; z-index: 999; border-radius: 100%; transition: 1s; -webkit-transition: 1s; -moz-transition: 1s; } #hero .img_holder .left_arm img, #hero .img_holder .right_arm img { position: absolute; transition: 1s; -webkit-transition: 1s; -moz-transition: 1s; z-index: 9999; width: 45px; } #hero .img_holder .left_arm img { left: 9px; bottom: -22px; } #hero .img_holder .right_arm img { right: 7px; bottom: -22px; } form { position: relative; width: 400px; height: 280px; margin: 0 auto; z-index: 999999999; } form .input_holder { position: relative; width: 300px; margin: 0 auto; } form .input_holder:nth-of-type(1) { margin-top: 40px; } form .input_holder:nth-of-type(2) { margin-top: 20px; margin-bottom: 20px; } form .input_holder span { position: absolute; left: 10px; top: 8px; } form .input_holder span:after { content: ''; position: absolute; width: 1px; height: 20px; background: #ccc; left: 21px; top: 0; } form .input_holder input { display: block; width: 300px; margin: 0 auto; background: #fafafa; border: 0; outline: 0; margin: 10px 0; padding: 10px; text-indent: 30px; font-weight: 300; } form .input_holder input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fafafa inset; } form .submit_button { width: 320px; height: 36px; border: 0; color: #fff; position: relative; margin-left: 50px; cursor: pointer; background: #1CB0EC; border-bottom: 4px solid #1091c5; } form .submit_button:active { outline: 0; border-bottom: none; } #footer { color: #000; text-align: center; } #footer p { font-size: 16px; } #footer p a { text-decoration: none; color: #1CB0EC; position: relative; transition: .5s; -webkit-transition: .5s; } #footer p a:hover { color: #4bc0f0; } #footer p a:before, #footer p a:after { content: ''; position: absolute; background: #1CB0EC; height: 2px; left: 0; right: 0; opacity: 0; transition: .5s; -webkit-transition: .5s; } #footer p a:before { top: -10px; } #footer p a:after { bottom: -10px; } #footer p a:hover:before, #footer p a:hover:after { opacity: 1; } #footer p a:hover:before { top: -3px; } #footer p a:hover:after { bottom: -5px; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76