Skip to content

Instantly share code, notes, and snippets.

@florentdestremau
Last active January 4, 2017 11:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florentdestremau/c7d7dd0bfd5057602a70280575b1f65b to your computer and use it in GitHub Desktop.
Save florentdestremau/c7d7dd0bfd5057602a70280575b1f65b to your computer and use it in GitHub Desktop.
Bootstrap hack to make a Confirm / Cancel button group. See the width: 4% -> 4 times the width of the first one
<div class="btn-group btn-group-justified" role="group">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default btn-lg">
&times;
</button>
</div>
<div class="btn-group" role="group" style="width: 4%;">
<button type="button" class="btn btn-success btn-lg btn-block">
Confirm ?
</button>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment