<div class="container">
  <div class="header">
    <h1>Cute Kitties</h1>
    <h2>Natural beauty</h2>
  </div>
  <div class="article article-0">
    <figure>
      <img src="https://images.unsplash.com/photo-1496661269814-a841e78df103?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ" alt="Cute kitty Doll">
      <figcaption>
        <h3>Doll</h3>
      </figcaption>
    </figure>
  </div>
  <div class="article article-1">
    <figure>
      <img src="https://images.unsplash.com/photo-1469569946320-b4f13e4b7d5e?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ" alt="Cute kitty Jake">
      <figcaption>
        <h3>Jake</h3>
      </figcaption>
    </figure>
  </div>
  <div class="article article-2">
    <figure>
      <img src="https://images.unsplash.com/photo-1472491235688-bdc81a63246e?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ" alt="Cute kitty Silvester">
      <figcaption>
        <h3>Silvester</h3>
      </figcaption>
    </figure>
  </div>
  <div class="article article-3">article-3</div>
  <div class="footer">
    <p>I ❤ CSS Grid.</p>
  </div>
</div>
/* Typography imported from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Bangers&display=swap');

/* Generic styles */
h1, h2, h3 {
  font-family: 'Bangers', cursive;
  color: white;
}

h1, h2 {
  letter-spacing: 0.1em;  
}

h3 {
  letter-spacing: 0.2em;  
}

.container {
  width: 100vw;
  height: 100vh;
  /* grid */
  display: grid;
  grid-template-areas: "header header"
  "article-0 article-1"
  "article-2 article-3"
  "footer footer";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr 1fr 60px;
  
  /* not in generator */
  grid-gap: 1rem;
}
/*.container > div {
  border: 1px dashed #888;
}*/

.header {
  background: url('https://images.unsplash.com/photo-1514511745018-1a24bf434b6c?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ') center;
  background-size: cover;
  padding: 4rem 2rem;
  text-align: center;
  /* grid */
  grid-area: header;
}

.header > h1 {
  font-size: 4rem;
  padding-bottom: 1rem;
}

.article {
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: .3rem;
}

.article > figure {
  max-height: 220px;
  overflow: hidden;
  border-top-left-radius: .3rem;
  border-top-right-radius: .3rem;
  position: relative;
}

.article > figure > img {
  width: 100%;
  min-width: 320px;
}

.article > figure > figcaption {
  padding-left: .75rem;
  position: absolute;
  bottom: 0;
  background-color: rgba(74, 4, 42, .7);
  width: 100%;
}

.article > figcaption > h3 {
  font-size: 1.25rem;
}

.article-0 {
  /* grid */
  grid-area: article-0;
}

.article-1 {
  /* grid */
  grid-area: article-1;
}

.article-2 {
  /* grid */
  grid-area: article-2;
}

.article-3 {
  /* grid */
  grid-area: article-3;
}

.footer {
  background-color: #4a042a;
  padding: .75rem;
  color: white;
  text-align: center;
  font-size: .75rem;
  /* grid */
  grid-area: footer;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.