基于SVG clip-path的弹性过渡幻灯片特效 An experimental slider using SVG clip-path feature

Elastic Slider

?

Basic usage

After including the required styles and scripts:


<div class="elastic-slider">
    <div id="image1"></div>
    <div id="image2"></div>
    <div id="image3"></div>
</div>

<script>
    new ElasticSlider('.elastic-slider');
</script>