"Button Group - Icon Seperators"
Bootstrap 3.1.0 Snippet by Geniusone

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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="col-md-6"> <div class="ui-group-buttons"> <button type="button" class="btn btn-primary btn-lg">Large button</button> <button type="button" class="btn btn-success btn-lg">Large button</button> </div> <br><br> <div class="btn-group btn-group-lg"> <button type="button" class="btn btn-info">Left</button> <div class="divider"><i class="fa fa-star fa-2x" ></i></div> <button type="button" class="btn btn-info">Middle</button> <div class="divider"><i class="fa fa-star fa-2x" ></i></div> <button type="button" class="btn btn-info">Right</button> </div> </div> </div> </div>
@import "//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"; body{margin-top:20px;} .btn-group .divider{position:relative;float:left;width:0em;height:0em;z-index:3;font-size:12px} .divider i:before{position:absolute;top:0%;left:0%;background-color:transparent;margin-left:-.5em;width:1em;height:0em;line-height:2.0;color:#fff;font-style:normal;font-weight:400;text-align:center;} /* .divider i:after{position:absolute;top:0;left:0;width:.3em;height:2.84em;background-color:rgba(0,0,0,0);border-top:.6em solid #5a5a5a;border-bottom:.6em solid #5a5a5a} .ui-group-buttons .or.or-lg{height:1.3em;font-size:16px} .ui-group-buttons .or.or-lg:after{height:2.85em} .ui-group-buttons .or.or-sm{height:1em} .ui-group-buttons .or.or-sm:after{height:2.5em} .ui-group-buttons .or.or-xs{height:.25em} .ui-group-buttons .or.or-xs:after{height:1.84em;z-index:-1000} */ .ui-group-buttons{display:inline-block;vertical-align:middle} .ui-group-buttons:after{content:".";display:block;height:0;clear:both;visibility:hidden} .ui-group-buttons .btn{float:left;border-radius:0} .ui-group-buttons .btn:first-child{margin-left:0;border-top-left-radius:.25em;border-bottom-left-radius:.25em;padding-right:15px} .ui-group-buttons .btn:last-child{border-top-right-radius:.25em;border-bottom-right-radius:.25em;padding-left:15px}

Related: See More


Questions / Comments: