tabs.wxss 625 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .scroll-view_H{
  2. white-space: nowrap;
  3. position: fixed;
  4. top: 80rpx;
  5. left: 0;
  6. z-index: 10;
  7. /* background: #fff; */
  8. /* box-shadow: 0 0 3rpx #fff; */
  9. }
  10. .scroll-view-item{
  11. height: 300rpx;
  12. }
  13. .scroll-view-item_H{
  14. position: relative;
  15. display: inline-block;
  16. padding: 10rpx 28rpx;
  17. height: 40rpx;
  18. font-size: 28rpx;
  19. color: #666;
  20. background: #2b2b2b;
  21. }
  22. .scroll-view-item_H:after {
  23. content: '';
  24. position: absolute;
  25. width: 70%;
  26. height: 4rpx;
  27. left: 15%;
  28. bottom: 6rpx;
  29. background: transparent;
  30. }
  31. .scroll-view-item_H.active {
  32. color: #fff
  33. }
  34. .scroll-view-item_H.active:after {
  35. background: #fff;
  36. }