virtual.css 498 B

12345678910111213141516171819
  1. .swiper-virtual .swiper-slide {
  2. -webkit-backface-visibility: hidden;
  3. transform: translateZ(0);
  4. }
  5. .swiper-virtual.swiper-css-mode .swiper-wrapper::after {
  6. content: '';
  7. position: absolute;
  8. left: 0;
  9. top: 0;
  10. pointer-events: none;
  11. }
  12. .swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after {
  13. height: 1px;
  14. width: var(--swiper-virtual-size);
  15. }
  16. .swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after {
  17. width: 1px;
  18. height: var(--swiper-virtual-size);
  19. }