Laurel Blossom Flowers Floral Print Scalloped Pom Trim Tiered Midi Dress
/* Base styles */ .video-container, .image-container { display: flex; flex-wrap: wrap; gap: 10px; /* Spacing between items */ margin-top: 20px; align-items: stretch; /* Ensure items stretch to the same height */ } video, .image-container img { width: 100%; /* Full width by default */ height: auto; /* Maintain aspect ratio */ border-radius: 8px; /* Rounded corners */ object-fit: cover; /* Ensure images/videos fill the container */ } /* Desktop: 2 videos in a row, 4 images in a row */ @media (min-width: 768px) { .video-container video { width: calc(50% - 5px); /* Two videos per row with spacing */ } .image-container img { width: calc(25% - 10px); /* Four images per row with spacing */ } } /* Mobile: 1 video/image per row */