<div class="page">
  <h1>LATEST NEWS</h1>
  <div class="archive">
    <article class="article">1
      <hr class="image">
      <hr>
    </article>
    <article class="article">2
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">3
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">4
      <hr class="image"><hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">5
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">6
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">7
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">8
      <hr>
      <hr>
    </article>
    <article class="article">9
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">10
      <hr>
      <hr>
    </article>
    <article class="article">11
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">12
      <hr class="image"><hr>
      <hr>
      <hr>
    </article>
    <article class="article">13
      <hr class="image"><hr>
      <hr>
    </article>
    <article class="article">14
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">15
      <hr class="image">
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">16
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">17<hr>
      <hr>
      <hr></article>
    <article class="article">18
      <hr class="image">
      <hr>
    </article>
    <article class="article">19
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">20
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">21
      <hr class="image"><hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">22
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">23
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">24
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">25
      <hr>
      <hr>
    </article>
    <article class="article">26
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">27
      <hr>
      <hr>
    </article>
    <article class="article">28
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">29
      <hr class="image"><hr>
      <hr>
      <hr>
    </article>
    <article class="article">30
      <hr class="image"><hr>
      <hr>
    </article>
    <article class="article">31
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">32
      <hr class="image">
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">33
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">34<hr>
      <hr>
      <hr></article>
    <article class="article">35
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">36
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">37
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">38
      <hr>
      <hr>
    </article>
    <article class="article">39
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">40
      <hr>
      <hr>
    </article>
    <article class="article">41
      <hr class="image">
      <hr>
    </article>
    <article class="article">42
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">43
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">44
      <hr class="image"><hr>
      <hr>
      <hr>
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">45
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">46
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">47
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">48
      <hr>
      <hr>
    </article>
    <article class="article">49
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">50
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">51
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">52
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">53
      <hr>
      <hr>
      <hr>
    </article>
    <article class="article">54
      <hr>
      <hr>
      <hr>
    </article>
  </div>
</div>
body {
  background: #001628;
  color: #777;
  padding: 4em;
  font-family: sans-serif;
  line-height: 1.15;
}

hr { /*dummy content*/
  height: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
} 

hr:last-child {  /*dummy content*/
  margin-right: 60%;
}

hr.image { /*dummy content*/
  padding-bottom: 50%;
} 

.page {
  padding: 2em;
  background: #cecece;
  max-width: 1300px;
}

.archive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1em;
  grid-auto-flow: dense;
}

.article {
  padding: 1em;
  background: #fff;
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.1),
    0 20px 20px rgba(0, 0, 0, 0.05);
}

.article::after {
  color: white;
  font-weight: bold;
  font-family: courier;
}

.article:nth-child(2) {
  grid-column: 2/-1;
  background: grey
}

.article:nth-child(2)::after {
  content: "2/-1";
}

.article:nth-child(8) {
  grid-column: 1/-2;
  background: grey
}

.article:nth-child(8)::after {
  content: "1/-2";
}


.article:nth-child(3)::after {
  content: "1/-1";
}

.article:nth-child(17) {
  grid-column: 2/-2;
  background: grey
}

.article:nth-child(17)::after {
  content: "2/-2";
}

.article:nth-child(24) {
  grid-column: 1/3;
  background: grey
}

.article:nth-child(24)::after {
  content: "1/3";
}

.article:nth-child(29) {
  grid-column: -3/-1;
  background: grey
}

.article:nth-child(29)::after {
  content: "-3/-1";
}

.article:nth-child(35) {
  grid-column: 2/-2;
  background: grey
}

.article:nth-child(35)::after {
  content: "2/-3";
}

.article:nth-child(42) {
  grid-column: 1/-1;
  background: grey
}

.article:nth-child(42)::after {
  content: "1/-1";
}

.article:nth-child(50) {
  grid-column: 3/-2;
  background: grey
}

.article:nth-child(50)::after {
  content: "3/-2";
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.