Ana Sayfa / Kod ve Scriptler / Premium Before After Media Slider

Premium Before After Media Slider

Öncesi/Sonrası Medya Kaydırıcı (Görsel ve Video): Web projelerinizi en hafif karşılaştırma kaydırıcısıyla güçlendirin.

  • Yayın tarihi21 Nisan 2026
  • Paket içeriği.css, .html, JavaScript .js
  • Son güncelleme23 Nisan 2026
  • Canlı demoVar
Premium Before After Media Slider

Overview

The ultimate comparison slider for web professionals. Whether you are showcasing photo retouching, construction renovations, or visual effects breakdowns, this Premium Before/After Slider delivers flawless performance. Built with modern, pure Vanilla JavaScript, it completely eliminates the need for bulky libraries like jQuery.

At an unbelievably lightweight 8.5KB (minified), it won't slow down your page speed, yet it packs high-end features you won't find in standard sliders, including Video Synchronization and an interactive "X-Ray" lens mode.

Features

  • Image & Video Support: Compare static images or looping videos. Our custom Smart-Sync technology ensures videos stay aligned, even when users switch browser tabs!
  • Visual Code Generator Included: No coding required! Use the included visual generator to upload your URLs, customize colors, tweak layouts, and instantly copy the final, production-ready HTML and JS.
  • X-Ray Lens Mode: Go beyond the standard swipe bar. Let users explore the "After" image using a movable, customizable magnifying glass effect.
  • Horizontal & Vertical Modes: Fits any layout requirement seamlessly.
  • Zero Dependencies: 100% Vanilla JS and CSS. No jQuery, no bloat.
  • Ultra-Lightweight: Only 8.5KB minified. Perfect for Core Web Vitals and SEO.
  • Responsive & Touch-Friendly: Engineered for flawless swiping on mobile devices and tablets.
  • Customizable UI: Easily change handle colors, line colors, label text, and toggle "Dark Mode" styling for the labels.

Important Note for Video Users: To ensure maximum compatibility and adhere to strict mobile browser auto-play policies (especially on iOS), video playback is muted by default. This ensures your videos always auto-play flawlessly on iPhone and iPad without blocking user interaction.