"Checkbox/Radio - CSS Only"
Bootstrap 3.3.0 Snippet by rawbenny

<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="btn-group" data-toggle="buttons"> <label class="btn btn-danger"> <input type="radio" name="options" id="option5" autocomplete="off"> S </label> <label class="btn btn-warning"> <input type="radio" name="options" id="option4" autocomplete="off"> H </label> <label class="btn btn-info"> <input type="radio" name="options" id="option3" autocomplete="off"> M </label> <label class="btn btn-success"> <input type="radio" name="options" id="option2" autocomplete="off"> L </label> </div> </div>
.btn-group .btn { margin-right:2px; } .btn{ background-color:transparent; color:#000; }

Related: See More


Questions / Comments: