antd tabs 修改inkBar样式

.ant-tabs-ink-bar {
   background-color: transparent !important;
}

.ant-tabs-top .ant-tabs-ink-bar-animated:before {
   content: " ";
   background: url(~@/assets/imgs/case_nav_ink_bar.png) no-repeat 50%;
   background-size: cover;
   width: 20px;
   height: 20px;
   position: absolute;
   left: 50%;
   top: 38px;
   transform: translate(-50%, -50%);
}

 

posted @ 2022-01-25 16:01  Tommy_marc  阅读(855)  评论(0编辑  收藏  举报