嘿,我怎麼可以移動在頁面底部的兩個按鈕(合理的底部,底部和按鈕之間沒有空格) Thx提前如何在底部移動的2個按鈕?
HTML
<ion-content class="background">
<button ion-button full color="primary"> LOGIN </button>
<button ion-button full color="danger"> REGISTER </button>
</ion-content>
SCSS
page-home {
.background{
background-color: #66CC81;
}
.button{
margin: 0px;
margin-bottom: 0px;
margin-block-end: 0px;
}
}
THX是工作,我只是不得不使用其他參數。 .button { 文本對齊:底部; 位置:相對;底部:-463px;左:0px;右:0像素; 餘量:0像素; } –