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
"Bootstrap 5 Login Form"
Bootstrap 4.1.1 Snippet by
w3hubs
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
516
 
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 ----------> <!-- W3hubs.com - Download Free Responsive Website Layout Templates designed on HTML5 CSS3,Bootstrap,Tailwind CSS which are 100% Mobile friendly. w3Hubs all Layouts are responsive cross browser supported, best quality world class designs. --> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Nunito+Sans:300i,400,700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css"> <title>Bootstrap 5 Login Form</title> <style> body { padding: 0; margin: 0; height: 100vh; font-family: "Nunito Sans"; } .form-control { line-height: 2; } .bg-custom { background-color: #6C63FF; } .btn-custom { background-color: #3e3d56; color: #fff; } .btn-custom:hover { background-color: #33313f; color: #fff; } label { color: #fff; } a, a:hover { color: #fff; text-decoration: none; } a, a:hover { text-decoration: none; } @media(max-width: 932px) { .display-none { display: none !important; } } </style> </head> <body> <div class="row m-0 h-100"> <div class="col p-0 text-center d-flex justify-content-center align-items-center display-none"> <img src="https://w3hubs.com/Bootstrap-5-Login-Form/login.svg" class="w-100"> </div> <div class="col p-0 bg-custom d-flex justify-content-center align-items-center flex-column w-100"> <form class="w-75" action="#"> <div class="mb-3"> <label for="exampleFormControlInput1" class="form-label">Username</label> <input type="text" class="form-control" id="exampleFormControlInput1" placeholder="username" required> </div> <div class="mb-3"> <label for="exampleFormControlInput2" class="form-label">Password</label> <input type="text" class="form-control" id="exampleFormControlInput2" placeholder="password" required> </div> <div class="row"> <div class="col-md-6"> <div class="form-check"> <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault"> <label class="form-check-label" for="flexCheckDefault"> Keep me logged in </label> </div> </div> </div> <button type="button" class="btn btn-custom btn-lg btn-block mt-3">Login Now</button> </form> </div> </div> </body> </html>
/*https://w3hubs.com/bootstrap-5-login-form/*/
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76