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

css scroll text without wrap

hidden webkit-scrollbar


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

.tabs-title-box{
  box-sizing: border-box;
  overflow-x: auto;
  max- 100vw;
  display: flex;
  flex-flow: row;
  justify-content: start;
  align-items: center;
  .tabs-title{
    // min- 48px;
    // min- 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;
}

refs



©xgqfrms 2012-2020

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


原文地址:https://www.cnblogs.com/xgqfrms/p/12603952.html