<style>
.app-toppic-fixed {
position: fixed;
top: 56px;
left: 0;
right: 0;
z-index: 1020;
background-color: #ffffff;
}
.app-toppic-fixed .app-toppic {
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
overflow-x: auto;
/* IE */
-ms-overflow-style: none;
/* 火狐 */
scrollbar-width: none;
}
.app-toppic-fixed .app-toppic a {
padding-right: 1rem;
}
/* 谷歌 */
.app-toppic-fixed .app-toppic::-webkit-scrollbar {
display: none;
}
@media screen and (min-width: 991px) {
.app-toppic-fixed {
top: 70px;
}
}
</style>
<div class="app-toppic-fixed shadow">
<div class="container dd" style="overflow: hidden;">
横向滚动tab实现
最新推荐文章于 2024-04-30 16:32:57 发布