How to make submit button sticky


#1

How to make sign-In button sticky while scrolling . I took example from http://codepen.io/gvarela/pen/KwJdEN

    <div class="list">
      <label class="item item-input item-stacked-label">
        <span class="input-label">Username</span>
        <input type="text"
               name="username"
               ng-model="user.username" 
               ng-minlength="5" 
               ng-maxlength="10"
               ng-model-options="{updateOn: 'blur'}"
               required>
      </label>

      <label class="item item-input">
        <span class="input-label">Password</span>
        <input type="password"
               name="password"
               ng-model="user.password" 
               ng-minlength="5" 
               ng-maxlength="25"
               required>
      </label>
    </div>
    
    <div class="padding">
      <button class="button button-block button-positive">
        Sign-In
      </button>
    </div>
  </form>
</ion-content>

#2

I thinks you must del class=“padding” and close tag.