tab.wxss 415 B

1234567891011121314151617181920212223242526272829
  1. /* pages/index/tab.wxss */
  2. .component {
  3. background-color: white;
  4. white-space: nowrap;
  5. box-sizing: border-box;
  6. }
  7. .content {
  8. position: relative;
  9. }
  10. .item {
  11. display: inline-flex;
  12. align-items: center;
  13. justify-content: center;
  14. padding: 0 30rpx;
  15. }
  16. .text {
  17. transition: color 0.2s
  18. }
  19. .bottom-bar {
  20. position: absolute;
  21. height: 2px;
  22. border-radius: 2px
  23. }
  24. .small {
  25. height: 4px;
  26. border-radius: 2px;
  27. }