我想创建一些可以使用滑块更改图像的东西。但是,它不是您的普通轮播。我需要一个图像,在这种情况下为线框,如果您将滑块从右向左滑动,则会出现实际的模型。参见下图,获得更准确的描述

我知道如何使用javascript创建滑块,但是我不确定如何使用此效果。

最佳答案

在Google上找到了一些资源:


http://zurb.com/playground/twentytwenty
https://juxtapose.knightlab.com/
https://github.com/kavyasukumar/imgSlider
https://github.com/koenoe/cocoen
https://github.com/CodyHouse/image-comparison-slider
https://github.com/slamcode/cato.js
https://github.com/jotform/before-after.js

10-05 20:58
查看更多