Urban V.2

In this example below you will see how to do a Urban V.2 with some HTML / CSS and Javascript

This awesome code was written by enyanat, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright enyanat ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>Urban V.2</title>
      <link rel="stylesheet" href="css/style.css">



  <div class="row">

<div class="col-20">
  <h1> <a href="https://codepen.io/enyanat/full/BdpNrg"> Copenhagen </a> </h1>
  <h1> <a href="https://codepen.io/enyanat/full/OjWMgz"> Urban </a> </h1>
<div class="col-40">
    <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870641/79920028_hhvkfh.jpg" alt="churchconstruction" class="image">
    <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870639/79920021_vrlh3y.jpg" alt="zigzag" class="image">
    <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870636/79920013_uxepkv.jpg" alt="stands" class="image">
<div class="col-40">
    <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870630/79920012_adh7fj.jpg" alt="bridge" class="image">
    <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870629/79920011_kawrbq.jpg" alt="bank" class="image">
    <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870621/79920017_m6desg.jpg" alt="court" class="image">
    <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870607/79920001_loqvry.jpg" alt="ride" class="image">
  <img src="https://res.cloudinary.com/dv7bugxey/image/upload/v1501870630/79920020_ubxgie.jpg" alt="landscape" class="image">   



/*Downloaded from https://www.codeseek.co/enyanat/urban-v2-OjWMgz */
* {
box-sizing: border-box;
font-family: sans-serif;

.row::after {
  content: "";
  clear: both;
  display: table;

[class*="col-"] {
  float: left;
  width: 100%;

@media only screen and (min-width: 1000px) {
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-20 {width: 20%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-40 {width: 40%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

.image {
  position: relative;
  max-width: 100%;
  height: auto;
  display: block;
  padding: 5px;

a {
  color: black;
  text-decoration: none;
a:hover {
  color: pink;
a:active {
  color: lavender;