"Buttons With Labels"
Bootstrap 3.0.0 Snippet by jeremypicavet

<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 ----------> <div class="container"> <div class="row"> <h2> Cool Buttons With Labels</h2> <div class="col-md-12"> <span class="btn btn-labeled btn-success"> Success <span class="btn-label"> <i class="glyphicon glyphicon-ok"></i> </span> </span> <button type="button" class="btn btn-labeled btn-danger"> Jérémy PICAVET (158659523) <span class="btn-label"> <i class="glyphicon glyphicon-remove"></i> </span> </button> </div> </div> </div>
.btn-label {position: relative;left: 12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;} .btn-labeled {padding-top: 0;padding-bottom: 0;} .btn { margin-bottom:10px; }

Related: See More


Questions / Comments: