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
"Untitled"
Bootstrap 4.1.1 Snippet by
TheKhanSoft
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
722
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!-- Include the above in your HEAD tag --> <!DOCTYPE html> <html> <head> <title>Login Page</title> <!--Made with love by Mutiullah Samim --> <!--Bootsrap 4 CDN--> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <!--Fontawesome CDN--> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> <!--Custom styles--> <link rel="stylesheet" type="text/css" href="styles.css"> </head> <body> <div class="container"> <div class="d-flex justify-content-center h-100"> <div class="card"> <div class="card-header pb-0"> <h3 class="">Sign In</h3> <div class="d-flex justify-content-end social_icon"> <span><i class="fab fa-facebook-square"></i></span> <span><i class="fab fa-google-plus-square"></i></span> <span><i class="fab fa-twitter-square"></i></span> <span><i class="fab fa-github-square"></i></span> </div> </div> <div class="card-body"> <form> <div class="input-group form-group pl-3 pr-3"> <div class="input-group-prepend"> <span class="input-group-text"><i class="fas fa-user"></i></span> </div> <input type="text" class="form-control" placeholder="username"> </div> <div class="input-group form-group pl-3 pr-3"> <div class="input-group-prepend"> <span class="input-group-text"><i class="fas fa-key"></i></span> </div> <input type="password" class="form-control" placeholder="password"> </div> <div class="row align-items-center remember pl-3"> <input type="checkbox">Remember Me </div> <div class="form-group"> <input type="submit" value="Login" class="btn float-right login_btn"> </div> </form> </div> <div class="card-footer"> <div class="d-flex justify-content-center links"> Don't have an account?<a href="#">Sign Up</a> </div> <div class="d-flex justify-content-center links"> <a href="#" class="">Forgot your password?</a> </div> </div> </div> </div> </div> </body> </html>
/* Made with love by Mutiullah Samim*/ @import url('https://fonts.googleapis.com/css?family=Numans'); html,body{ background-image: url('https://exscudo.com/blog/wp-content/uploads/2018/09/protecting-digital-ids.jpg'); background-size: cover; background-repeat: no-repeat; height: 100%; font-family: 'Numans', sans-serif; } .container{ height: 100%; align-content: center; } .card{ height: 400px; margin-top: auto; margin-bottom: auto; width: 400px; background-color: rgba(0,0,0,0.5) !important; } .social_icon span{ font-size: 60px; margin-left: 10px; color: #FFC312; } .social_icon span:hover{ color: #EAEEF1; cursor: pointer; } .card-header{ margin-bottom: -10px !important; } .card-header h3{ color: white; margin-top: 15px !important; } .social_icon{ position: absolute; right: 20px; top: -45px; } .input-group-prepend span{ width: 50px; background-color: #FFC312; color: black; border:0 !important; } input:focus{ outline: 0 0 0 0 !important; box-shadow: 0 0 0 0 !important; } .remember{ color: white; } .remember input { width: 20px; height: 20px; margin-left: 15px; margin-right: 5px; } .login_btn{ color: black; font-weight: bolder !important; font-size:18px !important; background-color: #FFC312; width: 150px; height: 50px; margin-right: 15px; } .login_btn:hover{ color: #FFC312; background-color: white; } .links{ color: white; } .links a{ margin-left: 4px; color: #FFC312; text-decoration:underline; } .links a:hover{ color: white; text-decoration:none; }
Related:
See More
Template
Material Dashboard Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76