C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
741 B

  1. .i-tabs {
  2. display: flex;
  3. width: 100%;
  4. height: 42px;
  5. line-height: 42px;
  6. box-sizing: border-box;
  7. position: relative;
  8. justify-content: space-around;
  9. align-items: center;
  10. -webkit-box-align: center;
  11. background: #fff
  12. }
  13. .i-tabs::after {
  14. content: '';
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. width: 200%;
  19. height: 200%;
  20. transform: scale(.5);
  21. transform-origin: 0 0;
  22. pointer-events: none;
  23. box-sizing: border-box;
  24. border: 0 solid #e9eaec;
  25. border-bottom-width: 1px
  26. }
  27. .i-tabs-scroll {
  28. display: block;
  29. overflow-x: auto;
  30. white-space: nowrap;
  31. box-shadow:0 0 2px 0 rgba(211,211,211,0.50);
  32. }
  33. .i-tabs-fixed {
  34. position: fixed;
  35. top: 0;
  36. z-index: 2
  37. }