// shared/Components/SkeletonGallery/SkeletonGallery.module.scss .skeletonGallery { margin: 0 10%; text-align: left; display: block; @media (max-width: $mobile-xs-width) { margin: 0 5%; } } .title { height: 44px; width: 25%; background-color: #e0e0e0; border-radius: 4px; margin-bottom: 16px; position: relative; overflow: hidden; @media (max-width: $tablet-max-width) { height: 32px; } &::after { content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%; background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100% ); animation: shimmer 1.5s infinite; } } .images { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; @media (max-width: $tablet-max-width) { grid-template-columns: repeat(2, 1fr); } @media (max-width: $mobile-xs-width) { grid-template-columns: 1fr; } } .imageContainer { height: 352px; background-color: #e0e0e0; border-radius: 8px; position: relative; overflow: hidden; &::after { content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%; background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100% ); animation: shimmer 1.5s infinite; } } .wide { grid-column: span 4; } .narrow { grid-column: span 2; } @keyframes shimmer { 0% { left: -150%; } 100% { left: 150%; } } @media (max-width: $tablet-max-width) { .wide, .narrow { grid-column: span 1; } } @media (max-width: $mobile-xs-width) { .wide, .narrow { grid-column: span 1; } }