Sometimes, we want to make a button go full-width with Bootstrap and HTML.
In this article, we’ll look at how to make a button go full-width with Bootstrap and HTML.
How to make a button go full-width with Bootstrap and HTML?
To make a button go full-width with Bootstrap and HTML, we use the input-block-level
class.
For instance, we write
<a href="#" class="btn input-block-level form-control">Full-Width Button</a>
to add the input-block-level
class to the a
element to make it full width.
Conclusion
To make a button go full-width with Bootstrap and HTML, we use the input-block-level
class.