bootstrap

Bootstrap Buttons

Bootstrap Buttons

This chapter includes examples of how to use the Bootstrap button. Anything with the.btn class will take on the default appearance of a grey button with rounded corners. However, Bootstrap has several button styling options, which are listed in the table below.

Button Size

1.btn-lg

This lg button makes the button size large.

2.btn-sm

This sm button makes the button size small.

3.btn-xs

This button makes the button size extra small.

4.btn-block

This btn block button creates block level buttons—those that span the full width of a parent.