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; }
html代码:
<%--底部tapbar--%>
推荐教程:CSS入门基础教程
以上就是css如何实现底部tapbar栏效果的详细内容,更多请关注其它相关文章!