xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

css scroll text without wrap All In One

css scroll text without wrap All In One

hidden webkit-scrollbar


.tabs-title-box::-webkit-scrollbar,
.tabs-content-box::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}

.tabs-title-box{
  box-sizing: border-box;
  overflow-x: auto;
  max-width: 100vw;
  display: flex;
  flex-flow: row;
  justify-content: start;
  align-items: center;
  .tabs-title{
    // min-width: 48px;
    // min-width: 64px;
    height:30px;
    font-size:30px;
    font-family:PingFangSC-Medium,PingFang SC;
    font-weight:500;
    color:rgba(255,38,97,1);
    line-height:30px;
    margin: 16px 32px;
    text-align: center;
    white-space: nowrap;
  }
}

white-space: nowrap;


at-tabs--scroll .at-tabs__header {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2020-03-31 11:28  xgqfrms  阅读(175)  评论(3编辑  收藏  举报