set width button bootstrap code example
Example 1: full width bootstrap button
class="btn btn-primary btn-block"
Example 2: bootstrap button full width
Create block level buttons—those that span the full width of a parent—by adding .btn-block.
class="btn btn-primary btn-block"
Create block level buttons—those that span the full width of a parent—by adding .btn-block.