Sep 13, 2018

How to Create a Block Element Bootstrap Button

Normally, your button elements are only as wide as the text that they contain. By making them block elements, your button will stretch to fill your page's entire horizontal space.

You can do this by adding Bootstrap's "btn-block" class to your Bootstrap button.