"checkbox with font awesome after"
Bootstrap 3.0.0 Snippet by ravindra93

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/> <div class="container"> <div class="row"> <input type="checkbox" name=""> Products <span class="badge">(32)</span> </div> </div>
.badge{background:#f00;padding:5px;color:#fff;} input[type='checkbox']:checked:after { font-family: FontAwesome; content: "\f00C"; color: #db3535; width: 18px; height: 18px; } input[type='checkbox']:after { content: ''; display: inline-block; width: 18px; height: 18px; margin-left: -4px; border: 1px solid rgb(192,192,192); border-radius: 0.25em; background: #fff; }

Related: See More


Questions / Comments: