Edit in JSFiddle


              
            
          
            
              
                
<div class="btn-group">
    <button type="button" class="btn btn-default">One</button>
    <button type="button" class="btn btn-default">Two</button>
    <button type="button" class="btn btn-default">Three</button>
</div>
<br></br>
<p>Click one of the buttons and then click outside the btn-group. Notice that the button is de-selected</p>