change size of button bootstrap javascript code example
Example 1: bootstrap 4 button size
<button type="button" class="btn btn-primary btn-lg">Large button</button>
<button type="button" class="btn btn-secondary btn-sm">Small button</button>
Example 2: bootstrap button full width
Create block level buttons—those that span the full width of a parent—by adding .btn-block.