HTML
<main class="cf bg-black w-100 ph3 pt3 pb3">
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/donnie-darko/id324481759?at=1l3vqFJ&mt=6" title="donnie-darko">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/donniedarko-alt.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/the-cabin-in-the-woods/id531670645?at=1l3vqFJ&mt=6" title="the-cabin-in-the-woods">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/cabininthewoods.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/john-carpenters-halloween/id1052963015?at=1l3vqFJ&mt=6" title="john-carpenters-halloween">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/halloween.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/the-monster-squad/id1033675059?at=1l3vqFJ&mt=6" title="the-monster-squad">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/monstersquad.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/the-addams-family/id267656434?at=1l3vqFJ&mt=6" title="the-addams-family">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/addamsfamily.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/addams-family-values/id329165439?at=1l3vqFJ&mt=6" title="addams-family-values">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/addamsfamilyvalues.jpg);"></div>
</div>
</a>
<a
class="link dim pa3 fl w-50 w-third-m w-25-l border-box"
href="https://itunes.apple.com/us/movie/hocus-pocus/id329144864?at=1l3vqFJ&mt=6"
title="hocus-pocus">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/hocuspocus.jpg);">
</div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/edward-scissorhands/id359722070?at=1l3vqFJ&mt=6" title="edward-scissorhands">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/edwardscissorhands.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/drag-me-to-hell-unrated/id320467448?at=1l3vqFJ&mt=6" title="drag-me-to-hell-unrated">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/dragmetohell.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/the-ring/id295256274?at=1l3vqFJ&mt=6" title="the-ring">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/thering.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/poltergeist/id520869717?at=1l3vqFJ&mt=6" title="poltergeist">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/poltergeist.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/beetlejuice/id282447504?at=1l3vqFJ&mt=6" title="beetlejuice">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/beetlejuice.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/nightmare-before-christmas/id281660706?at=1l3vqFJ&mt=6" title="nightmare-before-christmas">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/nightmarebeforechristmas.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/ernest-scared-stupid/id353370710?at=1l3vqFJ&mt=6" title="ernest scared stupid">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/ernestscaredstupid.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/casper/id732046880?at=1l3vqFJ&mt=6" title="casper">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/casper.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/mean-girls/id208511170?at=1l3vqFJ&mt=6" title="mean-girls">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/meangirls.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/e.t.-the-extra-terrestrial/id544128124?at=1l3vqFJ&mt=6" title="e.t.-the-extra-terrestrial">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/et.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/stephen-kings-it/id658825811?at=1l3vqFJ&mt=6" title="stephen-kings-it">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/it.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/the-blair-witch-project/id216086639?at=1l3vqFJ&mt=6" title="the-blair-witch-project">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/blairwitchproject.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/scream/id425968586?at=1l3vqFJ&mt=6" title="scream">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/scream.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://geo.itunes.apple.com/us/movie/scream-2/id432478046?at=1l3vqFJ&mt=6" title="scream-2">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/scream-2.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://geo.itunes.apple.com/us/movie/scream-3/id432478189?at=1l3vqFJ&mt=6" title="scream-3">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/scream-3.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/scream-4/id446341181?at=1l3vqFJ&mt=6" title="scream-4">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/scream4.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/the-lost-boys/id536779483?at=1l3vqFJ&mt=6" title="the-lost-boys">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/lostboys.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/28-days-later/id569220589?at=1l3vqFJ&mt=6" title="28-days-later">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/28dayslater.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/a-nightmare-on-elm-street/id308625280?at=1l3vqFJ&mt=6" title="a-nightmare-on-elm-street">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/nightmareonelmstreet.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/friday-the-13th-1980/id305332580?at=1l3vqFJ&mt=6" title="f">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/friday13th.jpeg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/pet-sematary/id212848151?at=1l3vqFJ&mt=6" title="pet-sematary">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/petsemetary.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://itunes.apple.com/us/movie/from-dusk-till-dawn/id461537388?at=1l3vqFJ&mt=6" title="from-dusk-till-dawn">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/dusktildawn.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://geo.itunes.apple.com/us/movie/zombieland/id336702170?at=1l3vqFJ&mt=6" title="zombieland">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/zombieland.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://geo.itunes.apple.com/us/movie/the-evil-dead/id326373852?at=1l3vqFJ&mt=6" title="the-evil-dead">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/evildead.jpg);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://geo.itunes.apple.com/us/movie/evil-dead-2/id423066738?at=1l3vqFJ&mt=6" title="evil-dead-2">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/evildead-2.png);"></div>
</div>
</a>
<a class="link dim pa3 fl w-50 w-third-m w-25-l border-box" href="https://geo.itunes.apple.com/us/movie/army-of-darkness/id280526877?at=1l3vqFJ&mt=6" title="army-of-darkness">
<div class="aspect-ratio aspect-ratio--5x8">
<div class="aspect-ratio--object cover bg-center" style="background-image:url(http://tachyons.io/img/armyofdarkness.jpg);"></div>
</div>
</a>
</main>
css
.border-box {
box-sizing: border-box;
}
.aspect-ratio {
height: 0;
position: relative;
}
.aspect-ratio--5x8 {
padding-bottom: 160%;
}
.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;
}
.fl {
float: left;
_display: inline;
}
.link {
text-decoration: none;
transition: color .15s ease-in;
}
.link:link, .link:visited {
transition: color .15s ease-in;
}
.link:hover {
transition: color .15s ease-in;
}
.link:active {
transition: color .15s ease-in;
}
.link:focus {
transition: color .15s ease-in;
outline: 1px dotted currentColor;
}
.w-50 {
width: 50%;
}
.w-100 {
width: 100%;
}
.bg-black {
background-color: #000;
}
.pa3 {
padding: 1rem;
}
.pb3 {
padding-bottom: 1rem;
}
.pt3 {
padding-top: 1rem;
}
.ph3 {
padding-left: 1rem;
padding-right: 1rem;
}
.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) and (max-width: 60em) {
.w-third-m {
width: calc(100% / 3);
}
}
@media screen and (min-width: 60em) {
.w-25-l {
width: 25%;
}
}