0

I'm creating application using onsen-ui.

Here is code for my "delete" button

<div class='form-well'>
    <br><br>
    <ons-button style="background-color: red;" modifier="large">Delete</ons-button>
</div>

All is fine, "Delete" button have proper size & color, but I want it to be aligned at the bottom.

Do library (onsen) have proper "onsenish" way to do this, or I should use generic html patterns (like this How to align content of a div to the bottom?) and guess pixels myself?

delete screen

Community
  • 1
  • 1
Arenim
  • 4,097
  • 3
  • 21
  • 31

2 Answers2

1

Use css position properties like this, i just use button for understanding you can use there button class or id.

button {
   position: absolute;
   bottom:0;
   left:0;
}
LKG
  • 4,152
  • 1
  • 11
  • 21
-1

You can find your answer on if you want to do it with onsen.io

https://onsen.io/blog/auto-style-app-onsen/

Shah Zaib
  • 25
  • 6