HTML
<article class="cf">
<div class="fl w-50 w-25-ns">
<a href="https://www.amazon.com/BEYONCÉ-Beyonce/dp/B00KCOMBJC/ref=sr_1_2_twi_lp__3?s=music&ie=UTF8&qid=1480422067&sr=1-2&keywords=beyonce&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Beyoncé" style="background-image:url(http://mrmrs.github.io/photos/beyonce.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50 w-25-ns">
<a href="https://www.amazon.com/99-9-KAYTRANADA/dp/B01D9DBNX2/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480422105&sr=1-1&keywords=kaytranada+vinyl&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Kaytranada" style="background-image:url(http://mrmrs.github.io/photos/kaytranada.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50 w-25-ns">
<a href="https://www.amazon.com/Woman-2LP-Set-Full-Album/dp/B01LX3E0ET/ref=sr_1_1?s=music&ie=UTF8&qid=1480422119&sr=1-1&keywords=justice&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Woman - Justice" style="background-image:url(http://mrmrs.github.io/photos/justice.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50 w-25-ns">
<a href="https://www.amazon.com/Skin-Flume/dp/B01DD5N35W/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480422133&sr=1-1&keywords=flume&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Skin - Flume" style="background-image:url(http://mrmrs.github.io/photos/flume.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50">
<a href="https://www.amazon.com/Seat-at-Table-Solange/dp/B01LXP7I5N/ref=sr_tnr_p_1_195429011_1_twi_lp__3?s=music&ie=UTF8&qid=1480422087&sr=1-1&keywords=solange+seat+at+the+table&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Seat at Table Solange" style="background-image:url(http://mrmrs.github.io/photos/solange.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50 w-25-ns">
<a href="https://www.amazon.com/untitled-unmastered-LP-Kendrick-Lamar/dp/B01DET9BV2/ref=sr_1_3_twi_lp__3?s=music&ie=UTF8&qid=1480370912&sr=1-3&keywords=kendrick+lamar&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Untitled Unmastered - Kendrick Lamar" style="background-image:url(http://mrmrs.github.io/photos/untitledunmastered.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-100 w-25-ns">
<a href="https://www.amazon.com/Moon-Shaped-Pool-2-LP-Download/dp/B01FDF12UI/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480370971&sr=1-1&keywords=moon+shaped+pool&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Moon Shaped Pool 2" style="background-image:url(http://mrmrs.github.io/photos/moonshapedpool.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50 w-25-ns">
<a href="https://www.amazon.com/Colour-Anything-2-LP/dp/B01F8674B8/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480371036&sr=1-1&keywords=color+in+anything&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Colour Anything 2" style="background-image:url(http://mrmrs.github.io/photos/colouranything.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50 w-25-ns">
<a href="https://www.amazon.com/Good-Luck-Do-Your-Best/dp/B01C3IHINI/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480371123&sr=1-1&keywords=good+luck+gold+panda&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Good Luck Do Your Best" style="background-image:url(http://mrmrs.github.io/photos/goldpanda.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-100 w-50-m w-25-ns">
<a href="https://www.amazon.com/32-Levels-Clams-Casino/dp/B01GU83I4K/ref=sr_1_2_twi_lp__1?s=music&ie=UTF8&qid=1480371183&sr=1-2&keywords=clams+casino&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="32 Levels Clams Casino" style="background-image:url(http://mrmrs.github.io/photos/clamscasino.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
<a href="https://www.amazon.com/Danny-Brown-Atrocity-Exhibition-Exclusive/dp/B01M9F0LSQ/ref=sr_1_2?ie=UTF8&qid=1480421198&sr=8-2&keywords=danny+brown+vinyl&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Danny Brown Atrocity Exhibition Exclusive" style="background-image:url(http://mrmrs.github.io/photos/dannybrown.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-100 w-50-m w-25-l">
<div class="fl w-100">
<a href="https://www.amazon.com/Human-Energy-MACHINEDRUM/dp/B01HC7UTBI/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480371226&sr=1-1&keywords=human+energy&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Human Energy - Machinedrum" style="background-image:url(http://mrmrs.github.io/photos/humanenergy.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-100">
<div class="fl w-50">
<a href="https://www.amazon.com/Moodymann-DJ-Kicks-DJ-KICKS/dp/B01AEOM6D0/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480371894&sr=1-1&keywords=dj+kicks+moodymann&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Moodymann - DJ Kicks" style="background-image:url(http://mrmrs.github.io/photos/moodyman.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50">
<a href="https://www.amazon.com/Stranger-Things-Netflix-Original-Soundtrack/dp/B01KA4MVF2/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480423240&sr=1-1&keywords=stranger+things&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Stranger Things Netflix Original Soundtrack" style="background-image:url(http://mrmrs.github.io/photos/strangerthings.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50">
<a href="https://www.amazon.com/How-Be-Human-Being-LP/dp/B01GQ7DIJA/ref=tmm_vnl_swatch_0?_encoding=UTF8&qid=1480421224&sr=8-1&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="How Be Human Being LP" style="background-image:url(http://mrmrs.github.io/photos/glassanimals.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
<div class="fl w-50">
<a href="https://www.amazon.com/22-Million-Bon-Iver/dp/B01KBKVK2K/ref=sr_tnr_p_6_195212011_1_twi_lp__3?s=music&ie=UTF8&qid=1480422776&sr=1-6&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="22 Million - Bon Iver" style="background-image:url(http://mrmrs.github.io/photos/boniver.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
</div>
</div>
<div class="fl w-100 w-50-l">
<a href="https://www.amazon.com/Malibu-Anderson-Paak/dp/B01BXNXBAS/ref=sr_1_1_twi_lp__3?s=music&ie=UTF8&qid=1480422041&sr=1-1&keywords=paak&tag=mrmrs01-20" class="db aspect-ratio aspect-ratio--1x1 dim">
<span role="img" aria-label="Malibu - Anderson Paak" style="background-image:url(http://mrmrs.github.io/photos/paak.jpg);" class="bg-center cover aspect-ratio--object"></span>
</a>
</div>
</article>
css
.aspect-ratio {
height: 0;
position: relative;
}
.aspect-ratio--1x1 {
padding-bottom: 100%;
}
.aspect-ratio--object {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100;
}
.cover {
background-size: cover !important;
}
.bg-center {
background-repeat: no-repeat;
background-position: center center;
}
.cf:before, .cf:after {
content: " ";
display: table;
}
.cf:after {
clear: both;
}
.cf {
*zoom: 1;
}
.db {
display: block;
}
.fl {
float: left;
_display: inline;
}
.w-50 {
width: 50%;
}
.w-100 {
width: 100%;
}
.dim {
opacity: 1;
transition: opacity .15s ease-in;
}
.dim:hover, .dim:focus {
opacity: .5;
transition: opacity .15s ease-in;
}
.dim:active {
opacity: .8;
transition: opacity .15s ease-out;
}
@media screen and (min-width: 30em) {
.w-25-ns {
width: 25%;
}
}
@media screen and (min-width: 30em) and (max-width: 60em) {
.w-50-m {
width: 50%;
}
}
@media screen and (min-width: 60em) {
.w-25-l {
width: 25%;
}
.w-50-l {
width: 50%;
}
}