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 Form"
Bootstrap 4.1.1 Snippet by
naufaalrmd
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
678
 
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 ----------> <!DOCTYPE html> <html> <head> <title>Login Form</title> <link rel="stylesheet" type="text/css" href="style.css"> <!-- Bootstrap 4.4 link--> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> </head> <body> <section class="row justify-content-center"> <div class="loginform"> <div class="mainform"> <img src="assets/chenjera.png" class="rounded mx-auto d-block" alt="..."> <center><h1>Log in to Chenjera</h1></center> <!-- Form --> <form> <div class="form-group"> <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email"> </div> <div class="form-group"> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> </div> <div class="text-center"> <button type="submit" class="button">Log In</button> </div> </form> <!-- end form --> <!-- log in with --> <div class="text-center"> <div class="with"> <p>Or, log in with:</p> <button type="submit" class="button2">Google</button> <button type="submit" class="button2">Microsoft</button> </div> </div> <!-- end log in with --> </div> </div> </section> </body> </html>
*{ font-family: Graphik,Helvetica,Arial,sans-serif,EmojiOne !important; } body{ background-color:#F24463 !important; } .loginform{ width:580px; height: 550px; top: 10vh; position: absolute; background-color: white; border-radius: 20px; } .mainform{ margin: 0 auto; width: 80%; } .mainform h1{ font-family: CooperBold,Georgia,Times,serif !important; margin-bottom: 15px; text-align: center; letter-spacing: 0.3px; font-weight: 600; font-size: 30px; word-spacing: 1px; } .form-control{ height: 55px; border:10px solid; } .button{ border-radius:100px; border:1px solid; height: 55px; width: 200px; background-color:#f24463; color: white; cursor:pointer; } .button2{ cursor:pointer; } .with p{ margin-top:25px; letter-spacing: 0.48px; color: #8e8f91; } .with button{ border-radius:100px; border:0.50px solid #8e8f91; height: 55px; width: 200px; background-color:white; color: #f24463; } img{ margin: 0 auto; width: 120px; padding: 20px 0 10px 0; } .form-group{ margin: 0 auto; width: 80%; } @media only screen and (max-width: 600px) { .loginform { position: absolute; top:10vh; width: 300px; height: 600px; border-radius: 20px; } img{ margin: 0 auto; width: 100px; padding: 10px 0 3px 0; } .with button{ margin:5px; } .mainform h1{ text-align: center; letter-spacing: 0.3px; font-weight: 600; font-size: 18px; word-spacing: 1px; } }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76