Nashla Bogaert Desnuda: Fotos De
// event listeners for lightbox closeBtn.addEventListener('click', closeLightbox); lightboxModal.addEventListener('click', (e) => if (e.target === lightboxModal) closeLightbox();
imgSrc: "https://images.pexels.com/photos/5010585/pexels-photo-5010585.jpeg?auto=compress&cs=tinysrgb&w=800&h=1000&fit=crop", title: "GOLDEN HOUR", desc: "Soft ruffles, warm metallic accents — romantic sensibility."
.image-container img position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1); Fotos De Nashla Bogaert Desnuda
// inner structure card.innerHTML = ` <div class="image-container"> <img src="$item.imgSrc" alt="Nashla Bogaert style - $item.title" loading="lazy"> </div> <div class="item-caption"> <div class="look-title">$item.title</div> <div class="look-desc">$item.desc</div> </div> `; // open lightbox on click card.addEventListener('click', (e) => // prevent if clicking inside caption or extra but that's fine openLightbox(item.imgSrc, item.title); ); gridContainer.appendChild(card); );
// init gallery buildGallery(); </script> </body> </html> // event listeners for lightbox closeBtn
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"> <title>Nashla Bogaert | Fashion & Style Gallery</title> <!-- Google Fonts + simple reset --> <link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600&display=swap" rel="stylesheet"> <style> * margin: 0; padding: 0; box-sizing: border-box; body background: #f8f7f4; font-family: 'Inter', sans-serif; color: #1e1e2a; scroll-behavior: smooth;
);
function closeLightbox() lightboxModal.classList.remove('active'); document.body.style.overflow = ''; // optional reset img src after transition setTimeout(() => if (!lightboxModal.classList.contains('active')) // lightboxImg.src = ''; // not needed but fine