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
"Signin and Signup page"
Bootstrap 3.3.0 Snippet by
yasirtaher
3.3.0
signup
Preview
HTML
CSS
View Full Screen
Fork
Fork this
27.0K
 
18 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 class="container"> <div class="col-md-6"> <div id="logbox"> <form id="signup" method="post" action="/signup"> <h1>create an account</h1> <input name="user[name]" type="text" placeholder="What's your username?" pattern="^[\w]{3,16}$" autofocus="autofocus" required="required" class="input pass"/> <input name="user[password]" type="password" placeholder="Choose a password" required="required" class="input pass"/> <input name="user[password2]" type="password" placeholder="Confirm password" required="required" class="input pass"/> <input name="user[email]" type="email" placeholder="Email address" class="input pass"/> <input type="submit" value="Sign me up!" class="inputButton"/> <div class="text-center"> already have an account? <a href="#" id="login_id">login</a> </div> </form> </div> </div> <!--col-md-6--> <div class="col-md-6"> <div id="logbox"> <form id="signup" method="post" action="/signup"> <h1>account login</h1> <input name="user[email]" type="email" placeholder="enter your email" class="input pass"/> <input name="user[password]" type="password" placeholder="enter your password" required="required" class="input pass"/> <input type="submit" value="Sign me in!" class="inputButton"/> <div class="text-center""> <a href="#" id="">create an account</a> - <a href="#" id="">forgot password</a> </div> </form> </div> </div> </div>
::selection { background-color: #b5e2e7; } ::-moz-selection { background-color: #8ac7d8; } body { background: #3CC; } .container { display: -webkit-flex; display: flex; height: 100%; } #logbox { padding: 10px; margin: 50px auto; width: 340px; background-color: #fff; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25); } h1 { text-align: center; font-size: 175%; color: #757575; font-weight: 300; } h1, input { font-family: "Open Sans", Helvetica, sans-serif; } .input { width: 75%; height: 50px; display: block; margin: 0 auto 15px; padding: 0 15px; border: none; border-bottom: 2px solid #ebebeb; } .input:focus { outline: none; border-bottom-color: #3CC !important; } .input:hover { border-bottom-color: #dcdcdc; } .input:invalid { box-shadow: none; } .pass:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px white inset; } .inputButton { position: relative; width: 85%; height: 50px; display: block; margin: 30px auto 30px; color: white; background-color: #3CC; border: none; -webkit-box-shadow: 0 5px 0 #2CADAD; -moz-box-shadow: 0 5px 0 #2CADAD; box-shadow: 0 5px 0 #2CADAD; } .inputButton:hover { top: 2px; -webkit-box-shadow: 0 3px 0 #2CADAD; -moz-box-shadow: 0 3px 0 #2CADAD; box-shadow: 0 3px 0 #2CADAD; } .inputButton:active { top: 5px; box-shadow: none; } .inputButton:focus { outline: none; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
very nice post i really like it.
a2znulled
Cric Time
()
-
8 years ago
-
Reply
0
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76