CSS实现底部tapbar栏功能
现在许多移动手机端都有底部tab栏切换的功能,最近恰巧也做到类似的功能,废话不多说,直接上代码。
先看效果图

css样式
*{
margin: 0;
padding: 0;
text-decoration: none;
list-style: none;
}
.foot {
width: 100%;
height: 68px;
background: #FFFFFF;
position: fixed;
bottom: 0;
display: flex;
justify-content: space-around;
z-index: 999;
/*line-height: 20px;*/
}
.foot li {
height: 100%;
}
.foot li a {
display: block;
width: 100%;
height: 100%;
/* color: #979797;*/
}
.foot li a img {
/*display: block;*/
width: 26px;
height: 26px;
margin-top: 10px;
}
.foot li a p {
font-size: 12px;
width: 100%;
text-align: center;
/* color: #979797;*/
margin-top: 7px;
}
.botm-title{
color: #979797;
}
.actives {
color: #5C91FA;
}
.xz-img{
text-align: center;
}
页面代码
<%--底部tapbar--%>
到此这篇关于CSS实现底部tapbar栏的文章就介绍到这了,更多相关css 底部tapbar栏内容请搜索潘少俊衡以前的文章或继续浏览下面的相关文章,希望大家以后多多支持潘少俊衡!
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
本文地址:/web/CSS/74029.html







