"Badges On Buttons"
Bootstrap 4.0.0 Snippet by vinay7208

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.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 ----------> <div class="container"> <div class="row"> <div class="container"> <h2>Badges on Buttons</h2> <button type="button" class="btn btn-primary">Primary <span class="badge">7</span></button> <button type="button" class="btn btn-success">Success <span class="badge">3</span></button> <button type="button" class="btn btn-danger">Danger <span class="badge">5</span></button> </div> </div> </div>

Related: See More


Questions / Comments: