Edit in JSFiddle


              
<div class="btn-group" data-toggle="buttons">
    <label class="btn btn-primary">
        <input type="radio" name="options" id="option1">Option 1
    </label>
    <label class="btn btn-primary active">
        <input type="radio" name="options" id="option2">Option 2
    </label>
    <label class="btn btn-primary">
        <input type="radio" name="options" id="option3">Option 3
    </label>
</div>
body {
    padding: 15px;
}

External resources loaded into this fiddle: