<main>
  <figure>
    <img class="twic" 
         data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" 
         src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" 
         data-src-transform="cover" 
         alt="Artichoke">
    <figcaption>Artichoke</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" alt="Canyon">
    <figcaption>Canyon</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" alt="Friend">
    <figcaption>Friend</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" alt="Cereals">
    <figcaption>Ceretwicals</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" alt="Lion">
    <figcaption>Lion</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" alt="Doggy">
    <figcaption>Doggy</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" alt="Cafe">
    <figcaption>Cafe</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=0.75p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" alt="Castle">
    <figcaption>Castle</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" alt="Lake">
    <figcaption>Lake</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" alt="Rasp">
    <figcaption>Rasp</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" alt="Moth">
    <figcaption>Moth</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" alt="Pug">
    <figcaption>Pug</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" alt="Artichoke">
    <figcaption>Artichoke</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" alt="Canyon">
    <figcaption>Canyon</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" alt="Friend">
    <figcaption>Friend</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" alt="Cereals">
    <figcaption>Cereals</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" alt="Lion">
    <figcaption>Lion</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" alt="Doggy">
    <figcaption>Doggy</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" alt="Cafe">
    <figcaption>Cafe</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" alt="Castle">
    <figcaption>Castle</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" alt="Lake">
    <figcaption>Lake</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" alt="Rasp">
    <figcaption>Rasp</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" alt="Moth">
    <figcaption>Moth</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" alt="Pug">
    <figcaption>Pug</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" alt="Artichoke">
    <figcaption>Artichoke</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" alt="Canyon">
    <figcaption>Canyon</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" alt="Friend">
    <figcaption>Friend</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" alt="Cereals">
    <figcaption>Ceretwicals</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" alt="Lion">
    <figcaption>Lion</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" alt="Doggy">
    <figcaption>Doggy</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" alt="Cafe">
    <figcaption>Cafe</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=0.75p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" alt="Castle">
    <figcaption>Castle</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" alt="Lake">
    <figcaption>Lake</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" alt="Rasp">
    <figcaption>Rasp</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" alt="Moth">
    <figcaption>Moth</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" alt="Pug">
    <figcaption>Pug</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" alt="Artichoke">
    <figcaption>Artichoke</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" alt="Canyon">
    <figcaption>Canyon</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" alt="Friend">
    <figcaption>Friend</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" alt="Cereals">
    <figcaption>Cereals</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" alt="Lion">
    <figcaption>Lion</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" alt="Doggy">
    <figcaption>Doggy</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" alt="Cafe">
    <figcaption>Cafe</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" alt="Castle">
    <figcaption>Castle</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" alt="Lake">
    <figcaption>Lake</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" alt="Rasp">
    <figcaption>Rasp</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" alt="Moth">
    <figcaption>Moth</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" alt="Pug">
    <figcaption>Pug</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" alt="Artichoke">
    <figcaption>Artichoke</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" alt="Canyon">
    <figcaption>Canyon</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" alt="Friend">
    <figcaption>Friend</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" alt="Cereals">
    <figcaption>Ceretwicals</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" alt="Lion">
    <figcaption>Lion</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" alt="Doggy">
    <figcaption>Doggy</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" alt="Cafe">
    <figcaption>Cafe</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=0.75p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" alt="Castle">
    <figcaption>Castle</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" alt="Lake">
    <figcaption>Lake</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" alt="Rasp">
    <figcaption>Rasp</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" alt="Moth">
    <figcaption>Moth</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" alt="Pug">
    <figcaption>Pug</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-artichoke.jpg" alt="Artichoke">
    <figcaption>Artichoke</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-canyon.jpg" alt="Canyon">
    <figcaption>Canyon</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-friend.jpg" alt="Friend">
    <figcaption>Friend</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cereals.jpg" alt="Cereals">
    <figcaption>Cereals</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lion.jpg" alt="Lion">
    <figcaption>Lion</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-doggy.jpg" alt="Doggy">
    <figcaption>Doggy</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-cafe.jpg" alt="Cafe">
    <figcaption>Cafe</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-castle.jpg" alt="Castle">
    <figcaption>Castle</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-lake.jpg" alt="Lake">
    <figcaption>Lake</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-rasp.jpg" alt="Rasp">
    <figcaption>Rasp</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-moth.jpg" alt="Moth">
    <figcaption>Moth</figcaption>
  </figure>
  <figure>
    <img class="twic" data-src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" data-src-transform="cover" src="https://i.twic.pics/v1/resize=2p/https://s3-us-west-2.amazonaws.com/s.cdpn.io/574595/tp-pug.jpg" alt="Pug">
    <figcaption>Pug</figcaption>
  </figure>
</main>
@import "breakpoint";

$breakpoint-from-tablet: 768px;
$breakpoint-from-desktop-sml: 769px;
$breakpoint-from-desktop-mid: 1200px;
$breakpoint-from-desktop-lrg: 1600px;

@mixin aspect-ratio($width, $height) {
  position: relative;
  overflow: hidden;

  &:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: ($height / $width) * 100%;
  }

  > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

main {
  padding: 10px;

  @include breakpoint($breakpoint-from-tablet) {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

figure {
  @include aspect-ratio(16, 9);
  background-color: white;
  border: 10px solid white;
  margin: auto;
  width: 100%;

  @include breakpoint($breakpoint-from-tablet) {
    @include aspect-ratio(1, 1);
    flex: 0 1 auto;
    width: 50%;
  }

  @include breakpoint($breakpoint-from-desktop-sml) {
    width: 33%;
  }

  @include breakpoint($breakpoint-from-desktop-mid) {
    @include aspect-ratio(4, 3);
    width: 33%;
  }

  @include breakpoint($breakpoint-from-desktop-lrg) {
    @include aspect-ratio(4, 3);
    width: 25%;
  }

  img {
    display: block;
    width: 100%;
    height: 100%;
    filter: blur(25px);
    transform: scale(1);
    will-change: filter;
    transition: filter .2s linear;

    &.twic-done {
      filter: blur(0);
    }
  }

  figcaption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(black, 0.5);
    padding: 8px 10px;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://i.twic.pics/v1/script