KEY ELEMENTS
Source: https://www.goelia1995.com/pages/key-elements
function getVisiblePlatform() { var platformElements = document.querySelectorAll('[data-platform]'); var visiblePlatform = null; for (var i = 0; i section * { margin: 0; padding: 0; } [data-platform] area { cursor: pointer; display: inline; } [data-platform] .comp-content { position: relative; margin: 0 auto; } [data-platform] .comp-content-image { position: relative; overflow: hidden; text-align: center; } [data-platform] .comp-content-image img { display: inline-block; max-width: 100%; vertical-align: bottom; height: auto; margin: 0; border: 0; -webkit-user-drag: none; } [data-platform] .comp-content-text { background-repeat: no-repeat; max-width: 1200px; } [data-platform] .text-box { display: block; } [data-platform] .comp-content-video { max-width: 100%; margin: 0 auto; vertical-align: bottom; } [data-platform] > iframe { width: 100%; aspect-ratio: 16 / 9; } [data-platform] .comp-content-video > video { max-width: 100%; margin: 0 auto; display: block; } [data-platform] .comp-content-video > iframe { width: 100%; aspect-ratio: 16 / 9; } [data-platform].platform-pc { margin: 0 auto; } @media screen and (max-width: 768px) { [data-platform].platform-pc { display: none; } } @media screen and (min-width: 769px) { [data-platform].platform-m { display: none; } } .template-collection[data-factory="pc"] .articleLookbook-title , .template-collection[data-factory="m"] .articleLookbook-title { display: none !important; } .comp-content-product .comp-nav { display: flex; justify-content: center; } .comp-content-product .comp-nav li { list-style: none; min-height: 20px; padding: 0 16px; display: flex; align-items: center; cursor: pointer; } .comp-content-swiper .slick-dots li button { border-color:#fff; background: #fff; } .comp-content-swiper .slick-dots li.slick-active button, .comp-content-swiper .slider-dots li.active button { background: none; } KEY ELEMENTS TWEED Elegance Encounter With Chic BASIC ESSENTIAL the Art of Everyday Glam BROWN AESTHETIC Painting Fashion with Subdued Hues MODERN CHEONGSAM Ancient Rhymes in New Tune KEY ELEMENTS TWEED Elegance Encounter With Chic BASIC ESSENTIAL the Art of Everyday Glam BROWN AESTHETIC Painting Fashion with Subdued Hues MODERN CHEONGSAM Ancient Rhymes in New Tune if (true && document.querySelector('.template-collection')) { if (platform === 'pc') { if (true) { document.querySelector('.template-collection').setAttribute('data-factory', 'pc') } } else { if (true) { document.querySelector('.template-collection').setAttribute('data-factory', 'm') } } }