index.less 452 B

1234567891011121314151617181920212223242526272829
  1. @import '../style/var';
  2. .van-swipe-cell {
  3. position: relative;
  4. overflow: hidden;
  5. cursor: grab;
  6. &__wrapper {
  7. transition-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1);
  8. transition-property: transform;
  9. }
  10. &__left,
  11. &__right {
  12. position: absolute;
  13. top: 0;
  14. height: 100%;
  15. }
  16. &__left {
  17. left: 0;
  18. transform: translate3d(-100%, 0, 0);
  19. }
  20. &__right {
  21. right: 0;
  22. transform: translate3d(100%, 0, 0);
  23. }
  24. }