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
"log in2"
Bootstrap 3.3.0 Snippet by
mohammed
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
1.5K
 
0 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 ----------> <form> <fieldset class="account-info"> <legend>Log in</legend> <label> Username <input type="text" name="username"> </label> <label> Password <input type="password" name="password"> </label> </fieldset> <fieldset class="account-action"> <input class="btn" type="submit" name="submit" value="Login"> <label> <input type="checkbox" name="remember"> Stay signed in </label> </fieldset> </form>
*, *:before, *:after { box-sizing: border-box; } form { border: 1px solid #c6c7cc; border-radius: 5px; font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; overflow: hidden; width: 240px; } fieldset { border: 0; margin: 0; padding: 0; } input { border-radius: 5px; font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0; } .account-info { padding: 20px 20px 0 20px; } .account-info label { color: #395870; display: block; font-weight: bold; margin-bottom: 20px; } .account-info input { background: #fff; border: 1px solid #c6c7cc; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1); color: #636466; padding: 6px; margin-top: 6px; width: 100%; } .account-action { background: #f0f0f2; border-top: 1px solid #c6c7cc; padding: 20px; } .account-action .btn { background: linear-gradient(#49708f, #293f50); border: 0; color: #fff; cursor: pointer; font-weight: bold; float: left; padding: 8px 16px; } .account-action label { color: #7c7c80; font-size: 12px; float: left; margin: 10px 0 0 20px; } legend { font-size: 20px; background-color: green; color:white; width: 100%; padding:5px; text-align:center; }
Related:
See More
Template
Get Shit Done Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76