Skip to content

Challenge Create a Block Element Bootstrap Button

SaintPeter edited this page · 1 revision
Clone this wiki locally

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. Note that these buttons still need the btn class.

<button class="btn btn-block">Like</button>

Something went wrong with that request. Please try again.