Skip to content

A lightweight, before-after, image comparison slider thingy, written in pure javascript

License

Notifications You must be signed in to change notification settings

wolfferine/image-comparison-slider

 
 

Repository files navigation

image-comparison-slider

A lightweight, before-after, image comparison slider thingy, written in pure javascript

<link rel="stylesheet" type="text/css" href="css/image-comparison-slider.css">

<div class="image-spliter">
    <div class="mover"></div>
    <img class="img-left" src="path/to/image1.jpg">
    <img class="img-right" src="path/to/image2.jpg">
</div>

<script src="js/image-comparison-slider.min.js"></script>

DEMO

About

A lightweight, before-after, image comparison slider thingy, written in pure javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.6%
  • CSS 23.4%