How can I make a bulma button goes full width?

38.7k views Asked by At

I am using [email protected] css framework

I have submit button within a form as follows

...
<!--Submit button-->
<div class="columns">
    <div class="column is-full">
        <button type="submit" class="button is-primary">
            <span class="icon"><i class="fa fa-sign-in"></i></span>
            <span>Login</span>
        </button>
    </div>
</div>
...

The result is the following

enter image description here

How can I make the button goes full-width ?

2

There are 2 answers

0
Manu Obre On BEST ANSWER

Add the class is-fullwidth

<button type="submit" class="button is-primary is-fullwidth">
      <span class="icon"><i class="fa fa-sign-in"></i></span>
      <span>Login</span>
</button>
2
Pauls Bebris On

is-fullwidth did not work for me, but is-overlay did!