"Buttons With Labels"
Bootstrap 3.2.0 Snippet by sravansurepally

<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="row"> <h2> Cool Buttons With Labels</h2> <div class="col-md-12"> <button type="button" class="btn btn-labeled btn-success">Success <span class="btn-label-right"><i class="glyphicon glyphicon-ok"></i></span></button> <button type="button" class="btn btn-labeled btn-danger"> <span class="btn-label"><i class="glyphicon glyphicon-remove"></i></span>Fail</button> <br /> <button type="button" class="btn btn-labeled btn-warning"> <span class="btn-label"><i class="glyphicon glyphicon-bookmark"></i></span>Bookmark</button> <button type="button" class="btn btn-labeled btn-primary"> <span class="btn-label"><i class="glyphicon glyphicon-camera"></i></span>Camera</button> <br /> <button type="button" class="btn btn-labeled btn-default"> <span class="btn-label"><i class="glyphicon glyphicon-chevron-left"></i></span>Left</button> <button type="button" class="btn btn-labeled btn-default">Right <span class="btn-label-right"><i class="glyphicon glyphicon-chevron-right"></i></span></button> <br /> <button type="button" class="btn btn-labeled btn-success">Thumbs Up <span class="btn-label-right"><i class="glyphicon glyphicon-thumbs-up"></i></span> </button> <button type="button" class="btn btn-labeled btn-danger"> <span class="btn-label"><i class="glyphicon glyphicon-thumbs-down"></i></span>Thumbs Down</button> <br /> <button type="button" class="btn btn-labeled btn-info"> <span class="btn-label"><i class="glyphicon glyphicon-refresh"></i></span>Refresh</button> <button type="button" class="btn btn-labeled btn-danger">Trash <span class="btn-label-right"><i class="glyphicon glyphicon-trash"></i></span></button> <br /> <a class="btn btn-primary btn-labeled" href="http://www.jquery2dotnet.com" role="button"> <span class="btn-label"><i class="glyphicon glyphicon-info-sign"></i></span>Information</a> </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-label-right {position: relative;right:-12px;display: inline-block;padding:6px 12px;background: rgba(0,0,0,0.15);border-radius:0 3px 3px 0;} .btn-labeled {padding-top: 0;padding-bottom: 0;} .btn { margin-bottom:10px; }

Related: See More


Questions / Comments: