swiper.wxss 767 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-swiper {
  29. position: relative;
  30. }
  31. .t-swiper-host {
  32. border-radius: var(--td-swiper-radius, var(--td-radius-large, 18rpx));
  33. overflow: hidden;
  34. }
  35. .t-swiper__item {
  36. display: flex;
  37. align-items: center;
  38. box-sizing: border-box;
  39. padding: var(--td-swiper-item-padding, 0);
  40. }
  41. .t-swiper__image {
  42. width: 100%;
  43. transition: all 0.3s ease;
  44. }
  45. .t-swiper__image-host {
  46. display: block;
  47. width: 100%;
  48. }