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
"Price Range and Buying Time Frame"
Bootstrap 3.3.0 Snippet by
kobusvanwykk
3.3.0
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
11.9K
 
7 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 ----------> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="https://dl.dropboxusercontent.com/u/86701580/mypersonalcdn/renda/renda-icon-font.css"> <div class="container"> <h3>Buying Selling Radio Button Group</h3> <div class="button-grid-group" id="button-grid-group" data-toggle="buttons"> <label class="btn btn-default button-grid"> <input type="radio" name="options" id="option1" autocomplete="off"> <span class="button-grid-word">$450k - $600k</span> </label> <label class="btn btn-default button-grid"> <input type="radio" name="options" id="option2" autocomplete="off"> <span class="button-grid-word">$450k - $600k</span> </label> <label class="btn btn-default button-grid"> <input type="radio" name="options" id="option2" autocomplete="off"> <span class="button-grid-word">$450k - $600k</span> </label> <label class="btn btn-default button-grid"> <input type="radio" name="options" id="option2" autocomplete="off"> <span class="button-grid-word">$450k - $600k</span> </label> <label class="btn btn-default button-grid"> <input type="radio" name="options" id="option2" autocomplete="off"> <span class="button-grid-word">$450k - $600k</span> </label> <label class="btn btn-default button-grid"> <input type="radio" name="options" id="option2" autocomplete="off"> <span class="button-grid-word">$450k - $600k</span> </label> <label class="btn btn-default button-grid"> <input type="radio" name="options" id="option2" autocomplete="off"> <span class="button-grid-word">$450k - $600k</span> </label> </div>
.button-grid.active { background: #7BB712; } .button-grid { width: 130px; padding: 10px; position: relative; margin-bottom:5px; } .button-grid.active .button-grid-word{ color: #fff; } .button-grid-word { font-size: 15px; font-weight: 600; } @media (max-width: 400px) { .mobile-br { display: none; } .button-grid { width: 49%; padding: 10px; position: relative; } }
$(window).resize(function() { if ($(window).width() <= 600) { $('#prop-type-group').removeClass('btn-group'); $('#prop-type-group').addClass('btn-group-vertical'); } else { $('#prop-type-group').addClass('btn-group'); $('#prop-type-group').removeClass('btn-group-vertical'); } });
Related:
See More
Free Template
Vuetify Material Dashboard
130.1K
128
Stylish Sliders/Range Selectors!
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76