Product Thumbnail Slider With Zoom Effect Jquery Codepen May 2026

/* Thumbnail slider area */ .slider-section margin-top: 0.5rem;

/* main image container with zoom effect */ .zoom-container position: relative; width: 100%; background: #fff; border-radius: 1.8rem; overflow: hidden; box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15); cursor: crosshair; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; product thumbnail slider with zoom effect jquery codepen

/* main product card container */ .product-showcase max-width: 1280px; width: 100%; background: rgba(255,255,255,0.75); backdrop-filter: blur(2px); border-radius: 2.5rem; box-shadow: 0 25px 45px -12px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.05); padding: 2rem 2rem 2rem 2rem; transition: all 0.2s ease; /* Thumbnail slider area */

.slider-title font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #2c3e66; background: rgba(255,255,240,0.6); padding: 0.2rem 0.8rem; border-radius: 40px; box-shadow: 0 20px 35px -10px rgba(0

.main-image width: 100%; height: 100%; object-fit: contain; transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1); transform-origin: center center; background: #fefefe; pointer-events: none; /* zoom handled by container overlay logic */

.thumb-item.active-thumb border-color: #2c5f8a; box-shadow: 0 8px 20px rgba(44,95,138,0.25); transform: scale(1.02);

.thumb-img width: 100%; height: 100%; object-fit: cover; display: block;