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
"Activity Form"
Bootstrap 3.0.3 Snippet by
patelsan
3.0.3
Preview
HTML
CSS
View Full Screen
Fork
Fork this
4.7K
 
1 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/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='row'> <form role="form"> <div class="form-group col-md-2 col-sm-3"> <label for="duration">Duration</label> <input type="email" class="form-control" id="duration" placeholder="Duration"> </div> <div class="form-group col-md-2 col-sm-3"> <label for="distance">Distance</label> <input type="email" class="form-control" id="distance" placeholder="Distance"> </div> <div class="form-group col-md-2 col-sm-3"> <label for="calories">Calories</label> <input type="email" class="form-control" id="calories" placeholder="Calories"> </div> </form> </div> <div class='row'> <div class='col-md-6'> <div class="panel panel-success"> <div class="panel-heading"> <h3 class="panel-title">What activity you did?</h3> </div> <div class="panel-body"> <ul class='activityTypes'> <li> Running </li> <li class='active'>Walking</li> <li>Swimming</li> <li>Swimming</li> <li>Swimming</li> <li>Swimming</li> </ul> </div> </div> </div> </div> </div>
@import url(http://fonts.googleapis.com/css?family=Lato); body { background-color: #EFEDDF; } .activityTypes { margin: 0; padding: 0; border: 0; overflow: hidden; width: 100%; } .activityTypes li { list-style-image: none; list-style-type: none; margin-left: 0; display: -moz-inline-stack; display: inline-block; vertical-align: middle; *vertical-align: auto; zoom: 1; *display: inline; white-space: nowrap; } .activityTypes li { background-color: #FFF; padding: 8px; margin: 3px; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); width: 127px; margin-right: 8px; line-height: 1.5em; text-align: center; font-family: 'Lato', sans-serif; font-size: 14px; color: #3F4944; } .activityTypes li.active { background-color: #3F4944; color: #FFF; } .panel-success>.panel-heading { color: #636365; background-color: #E4E3D5; border-color: #DDDDDD; }
Related:
See More
Free Template
Datepicker
463.6K
45
login-form
170.8K
18
Login Form
142.2K
51
Contact Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76