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
Harikaran1994
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
156
 
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 and Registration Form</title> <link rel="stylesheet" href="Style.css"> </head> <body> <div class="login-page"> <div class ="form"> <form class="register-form"> <input type="text" placeholder="FirstName"/> <input type="text" placeholder="LastName"/> <input type="password" placeholder="Password"/> <input type="password" placeholder="ConfirmPassword"/> <input type="email" placeholder="emailid"/> <input type="number" placeholder=" MobileNumber"/> <input type="checkbox" place holder ="accepts terms & conditions">Accept Terms & Conditions <button> Sign Up </button> <p class="message"> Already registered? <a href="#"> Login </a> </p> </form> </div> </div> </body> </html>
body{ background-color: darkslategrey; height: auto; background-size: cover; background-position: center; } .login-page{ width: 360px; padding: 10% 0 0 ; margin: auto; } .form { position: relative; z-index: 1; background-color: darkgray; max-width: 360px; margin: 0 auto 100px; padding: 25px; text-align: center; } .form input{ font-family: "Roboto",sans-serif; outline: 1; background:#f1f1f1; width: 100%; border: 0; margin: 0 0 15px; padding: 15px; box-sizing: border-box; font-size: 14px; } .form button { font-family: "Roboto",sans-serif; text-transform: uppercase; outline: 0; background-color: black; width: 100%; border: 0; padding: 15px; color: cornsilk; font-size: 14px; cursor: pointer; } .form button :hover,.form button:active{ background: #43A047; } .form .message{ margin: 15px 0 0; color: aliceblue; font-size: 14px; }
Related:
See More
Free Template
Gaia Bootstrap Template
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76