Css ionic2 html页面按钮底部
page.htmlCss ionic2 html页面按钮底部,css,html,ionic2,Css,Html,Ionic2,page.html <div padding class="about-info"> <a ion-button color="light" href="tel:1800889958"> 立即拨打 </a> </div> 我相信您的最佳选择是使用: 页脚 这一次我尝试ald。。但它的类型与我的代码风格不同 .about-info { text-align: center; background-col
<div padding class="about-info">
<a ion-button color="light" href="tel:1800889958">
立即拨打
</a>
</div>
我相信您的最佳选择是使用:
页脚
这一次我尝试ald。。但它的类型与我的代码风格不同
.about-info {
text-align: center;
background-color: #F44336;
width: 100%;
height: 100%;
}
.about-info a{
vertical-align: bottom;
position: absolute;
bottom: 0px;
width: 100%;
text-align: center
}
<ion-content></ion-content>
<ion-footer>
<ion-toolbar>
<ion-title>Footer</ion-title>
</ion-toolbar>
</ion-footer>