39

I am using bulma@0.3.0 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 ?

Mohammad Usman
  • 37,952
  • 20
  • 92
  • 95
ira
  • 5,569
  • 6
  • 30
  • 41

2 Answers2

85

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>
Manu Obre
  • 2,254
  • 1
  • 12
  • 12
2

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

Samuel Liew
  • 76,741
  • 107
  • 159
  • 260
Pauls Bebris
  • 399
  • 4
  • 6