"Group buttons"
Bootstrap 3.0.0 Snippet by mgustin12

1
2
3
4
5
6
7
8
9
10
11
12
<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="ui-group-buttons">
<button type="button" class="btn btn-primary btn-lg">Businesses</button>
<div class="or or-lg"></div>
<button type="button" class="btn btn-success btn-lg">Causes</button>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body{text-align: center;margin-top:20px;background:#fff}
.ui-group-buttons .or {
position:relative;
float:left;
width:.3em;
height:1.3em;
z-index:3;
font-size:12px
}
.ui-group-buttons .or:before {
position:absolute;
top:50%;left:50%;
content:'or';
background-color:#fff;
margin-top:-.1em;
margin-left:-.9em;
width:1.8em;
height:1.8em;
line-height:1.55;
color:#000;
font-style:normal;
font-weight:bold;
text-align:center;
border-radius:500px;
-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.1);
box-shadow:0 0 0 1px rgba(0,0,0,0.1);
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-ms-box-sizing:border-box;
box-sizing:border-box
}
.ui-group-buttons .or:after {
position:absolute;
top:0;
left:0;
content:' ';
width:.3em;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: