SẢN PHẨM NỔI BẬT

Slider Sản Phẩm * { box-sizing: border-box; margin: 0; padding: 0; } .product-section { font-family: Arial, sans-serif; background: #f2f2f2; padding: 0px; } h2 { text-align: center; margin-bottom: 10px; } /* Categories */ .product-section .categories { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; } .product-section .categories button { background: none; border: none; font-size: 16px; font-weight: bold; color: #003A70; cursor: pointer; padding-bottom: 5px; position: relative; } .product-section .categories button.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #003A70; } /* Slider */ .product-section .slider-container { position: relative; max-width: 1200px; margin: auto; overflow: hidden; } .product-section .slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; } .product-section .product-card { min-width: 25%; /* 4 sản phẩm / slide */ padding: 10px; text-align: center; display: none; /* ẩn mặc định */ } .product-section .product-card.active { display: block; } .product-section .product-image { position: relative; width: 100%; overflow: hidden; } .product-section .product-image img { width: 100%; display: block; transition: opacity 0.4s ease-in-out; } .product-section .product-image img.hover-img { position: absolute; top: 0; left: 0; opacity: 0; } /* .product-section .product-image:hover img.hover-img { opacity: 1; } */ /* .product-section .product-image:hover img:first-child { opacity: 0; } */ .product-section .product-name { font-size: 14px; margin-top: 10px; text-transform: uppercase; } .product-section .product-price { font-weight: bold; color: #003A70; margin-top: 5px; } /* Nút điều hướng */ .product-section .slider-btn { position: absolute; top: 40%; transform: translateY(-50%); background: white; border: none; padding: 10px; cursor: pointer; border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.2); z-index: 10; color: #003A70; } .product-section .slider-btn:hover { background: #003A70; color: white; } .product-section .prev { left: 10px; } .product-section .next { right: 10px; } @media (max-width: 768px) { .product-section { padding: 20px; } .product-section .categories { flex-wrap: wrap; gap: 15px; margin-bottom: 15px; } .product-section .categories button { font-size: 14px; } .product-section .product-card { min-width: 50%; /* 2 sản phẩm / slide */ padding: 8px; } .product-section .product-name { font-size: 13px; } .product-section .product-price { font-size: 14px; } /* Nút điều hướng nhỏ lại */ .product-section .slider-btn { padding: 6px; top: 35%; } .product-section .prev { left: 5px; } .product-section .next { right: 5px; } } /* --- Điện thoại nhỏ hơn (dưới 480px) --- */ @media (max-width: 480px) { .product-section .product-card { min-width: 100%; /* Hiện 1 sản phẩm / slide */ } .product-section .categories { justify-content: space-around; } .product-section .categories button { font-size: 12px; } }
Ảnh 1 <!-- Ảnh 2 -->
1,430,000₫
Ảnh 1 <!-- Ảnh 2 -->
385,000₫
Ảnh 1 <!-- Ảnh 2 -->
550,000₫
Ảnh 1 <!-- Ảnh 2 -->
550,000₫
Ảnh 1 <!-- Ảnh 2 -->
330,000₫
Ảnh 1 <!-- Ảnh 2 -->
440,000₫
Ảnh 1 <!-- Ảnh 2 -->
550,000₫
Ảnh 1 <!-- Ảnh 2 -->
429,000₫
Ảnh 1 <!-- Ảnh 2 -->
495,000₫
Ảnh 1 <!-- Ảnh 2 -->
440,000₫
Ảnh 1 <!-- Ảnh 2 -->
275,000₫
Ảnh 1 <!-- Ảnh 2 -->
429,000₫
Ảnh 1 <!-- Ảnh 2 -->
429,000₫
Ảnh 1 <!-- Ảnh 2 -->
429,000₫
Ảnh 1 <!-- Ảnh 2 -->
385,000₫
Ảnh 1 <!-- Ảnh 2 -->
550,000₫
Ảnh 1 <!-- Ảnh 2 -->
495,000₫
Ảnh 1 <!-- Ảnh 2 -->
385,000₫
Ảnh 1 <!-- Ảnh 2 -->
385,000₫
const slider = document.getElementById("slider"); const prevBtn = document.querySelector(".prev"); const nextBtn = document.querySelector(".next"); const categoryBtns = document.querySelectorAll(".categories button"); let index = 0; // Chuyển slide nextBtn.addEventListener("click", () => { const visibleCards = document.querySelectorAll(".product-card.active"); if (index { if (index > 0) { index--; slider.style.transform = `translateX(-${index * 25}%)`; } }); // Chuyển category categoryBtns.forEach(btn => { btn.addEventListener("click", () => { categoryBtns.forEach(b => b.classList.remove("active")); btn.classList.add("active"); const category = btn.getAttribute("data-category"); document.querySelectorAll(".product-card").forEach(card => { card.classList.remove("active"); if (card.dataset.category === category) { card.classList.add("active"); } }); // Reset slider index = 0; slider.style.transform = "translateX(0)"; }); });

TRANG SỨC BẠC THÀNH LẬP TỪ 2012

— VÒNG VĨNH CỬU —
PERMANENT JEWELRY
“CLICK” ĐỂ XEM CHI TIẾT

BLOG TIPS & HINT

ABOUT NON JEWELRY

.my-carousel { position: relative; width: 800px; margin: 50px auto; overflow: hidden; text-align: center; } .carousel-description { font-size: 19px; font-weight: 500; margin-bottom: 20px; min-height: 50px; transition: opacity 0.3s ease; } .carousel-track { display: flex; justify-content: center; align-items: center; gap: 30px; /* khoảng cách giữa ảnh */ transition: transform 0.5s ease; } .carousel-slide { opacity: 0.4; transform: scale(0.9); transition: opacity 0.3s ease, transform 0.3s ease; } .carousel-slide.active { opacity: 1; transform: scale(1); } .carousel-slide img { width: 550px; border-radius: 10px; } .caption { margin-top: 10px; font-size: 19px; color: #003A70; } /* Nút */ .my-carousel button { position: absolute; top: 50%; transform: translateY(-50%); background: #000; color: #fff; border: none; font-size: 24px; width: 40px; height: 50px; cursor: pointer; opacity: 0.7; } .my-carousel .prev { left: 10px; } .my-carousel .next { right: 10px; } /* Tablet (màn từ 768px đến 1024px) */ @media (max-width: 1024px) { .my-carousel { width: 90%; } .carousel-slide img { width: 400px; /* thu nhỏ ảnh */ } .caption { font-size: 16px; } .carousel-description { font-size: 15px; } } /* Mobile (dưới 768px) */ @media (max-width: 768px) { .my-carousel { width: 95%; } .carousel-track { gap: 10px; /* khoảng cách nhỏ hơn */ } .carousel-slide img { width: 280px; /* thu nhỏ ảnh cho mobile */ } .caption { font-size: 14px; } .carousel-description { font-size: 14px; min-height: auto; margin-bottom: 15px; } /* Nút điều hướng nhỏ hơn */ .my-carousel button { width: 30px; height: 40px; font-size: 20px; } } const slides = document.querySelectorAll('.carousel-slide'); const descBox = document.getElementById('carousel-description'); let currentIndex = 0; function updateCarousel() { slides.forEach((slide, i) => { slide.classList.toggle('active', i === currentIndex); }); descBox.style.opacity = 0; setTimeout(() => { descBox.textContent = slides[currentIndex].dataset.description; descBox.style.opacity = 1; }, 200); } document.querySelector('.next').addEventListener('click', () => { currentIndex = (currentIndex + 1) % slides.length; updateCarousel(); }); document.querySelector('.prev').addEventListener('click', () => { currentIndex = (currentIndex - 1 + slides.length) % slides.length; updateCarousel(); }); // load ban đầu updateCarousel();

KHÁCH HÀNG FEEDBACK

_p.evomew
June 06, 2025
Happy 🫶🏻
byraachh
May 10, 2025
some of my current faves 🫶🏻 what are you loving atm?? #flatlay #flatlayinspiration #faves #currentfaves #jewelry #jewellery #necklace #rings #ringstack #crysta...
tqhuong_06
April 20, 2025
vòng cổ xinh của nhà nonjewelry ❤️
.custom-grid { max-width: 1000px; margin: 30px auto; position: relative; } /* Lưới */ .grid-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 20px; } /* Cột bên cố định */ .grid-col.side .es-box { min-height: 0px; } /* Cột giữa dài hơn */ .grid-col.middle .es-box { min-height: 0px; } /* Hàng 2 ẩn ban đầu */ .hidden { display: none; } /* Nút */ .grid-button-wrap { text-align: center; position: relative; z-index: 2; } .grid-button-wrap button { padding: 10px 25px; background: #001426; color: #fff; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; } .grid-button-wrap button:hover { background: #5a3012; } /* Overlay Blur */ .blur-overlay { position: absolute; bottom: 65px; /* để không che nút */ left: 0; right: 0; height: 100px; background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0)); pointer-events: none; z-index: 1; } /* ---- Style Instagram Box ---- */ .es-box { background: #fff; border: 1px solid #ddd; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease; display: flex; flex-direction: column; height: 100%; } .es-box:hover { transform: scale(1.02); } .es-user { display: flex; align-items: center; padding: 10px 15px; border-bottom: 1px solid #eee; } .es-username { font-weight: bold; font-size: 14px; color: #333; } .es-date { font-size: 12px; color: #999; } .es-text { padding: 12px 15px; font-size: 14px; color: #444; } /* Responsive Mobile */ @media (max-width: 767px) { .grid-row { grid-template-columns: 1fr; /* 1 cột */ } .grid-col.middle, .grid-col.side { grid-column: span 1; } .grid-col.side .es-box, .grid-col.middle .es-box { min-height: auto; /* cho về auto để vừa màn hình */ } .blur-overlay { height: 80px; /* thấp hơn để hợp mobile */ } .grid-button-wrap button { width: 100%; max-width: 250px; font-size: 15px; } } document.getElementById('toggleRow').addEventListener('click', function() { const row2 = document.querySelector('.row-2'); const blur = document.querySelector('.blur-overlay'); if (row2.classList.contains('hidden')) { row2.classList.remove('hidden'); blur.style.display = "none"; this.textContent = "Ẩn bớt"; } else { row2.classList.add('hidden'); blur.style.display = "block"; this.textContent = "Xem thêm"; } });

Follow on Instagram #nonjewelry