How to set button to the bottom of the screen in ionic 2 application -


trying fix button bottom of screen in ionic 2 application, don't know why taking space after button. have tried alot of method have changes main.css regarding button, not able fix it. please help, want stick bottom no spaceenter image description here.

code using for:

</ion-content>  <ion-footer no-padding style="margin:0rem 0rem!important;">    <button ion-button block color="dark" (click)="pushpage()">explore</button>    </ion-footer>

<ion-footer> kept outside of <ion-content>, make button fixed on scrolling.even on removing 'margin' , 'no-padding' no effect found.

in app.scss(or in relative .scss) add following code:

.footer{     button{         margin-bottom: 0px;     } } 

Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -