Before & After slideshows are quite popular on top viral sites. You don’t need to write a whole lot of code to add such a feature to your site. Differ for Elementor is a before/after widget that makes your site more interactive. It works with images of all sizes.
Differ lets you compare images as you like. You can have multiple instance on each page. It works with CDNs and has a lightweight code. Differ is coded in HTML5 and CSS3. pixel-mafia is the coder behind this plugin.