CSS如何实现底部tapbar栏功能?本篇文章小编给大家分享一下CSS实现底部tapbar栏功能代码,小编觉得挺不错的,现在分享给大家供大家参考,有需要的小伙伴们可以来看看。
先看效果图
css样式
*{ margin: 0; padding: 0; text-decoration: none; list-style: none; } .foot { width: 100%; background: #FFFFFF; position: fixed; bottom: 0; display: flex; justify-content: space-around; z-index: 999; /*line-*/ } .foot li { height: 100%; } .foot li a { display: block; width: 100%; height: 100%; /* color: #979797;*/ } .foot li a img { /*display: block;*/ 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--%>
ETF巨头持有6%的比特币——但73K的BTC价格可能突破他们的耐心底线
日报 | 天风证券子公司获香港虚拟资产第三类牌照;Coinbase CEO 称公司每周都在买入更多比特币
美国通过《部署美国区块链法案》:这对加密货币意味着什么
Aptos创16日新高 首支Aptos现货ETF即将问世
L2代币面临估值泡沫与投票操控风险
分析师预测SHIB目标价格为0.000081美元,技术分析显示柴犬币可能迎来600%暴涨