"Checkbox/Radio - CSS Only"
Bootstrap 3.2.0 Snippet by aranik

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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-success active"> <input type="radio" name="options" autocomplete="off" chacked>Риелтору </label> <label class="btn btn-primary"> <input type="radio" name="options" autocomplete="off">Собственнику </label> </div> </div>
.btn span.glyphicon { opacity: 0; } .btn.active span.glyphicon { opacity: 1; }

Related: See More


Questions / Comments: