Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in Web Technology by (20.3k points)

I want a button to take up the full width of the column, but having difficulties...

<div class="span9 btn-block">

    <button class="btn btn-large btn-block btn-primary" type="button">Block level button</button>


How do I make the button as wide as the column?

1 Answer

0 votes
by (40.7k points)

For Bootstrap v3 & v4:

You can use btn-block class on your button/element.

For Bootstrap v2:

You can try using input-block-level class on your button/element.

Browse Categories