JSFiddle - React, Tailwind, and code Playground

by Ulrich Bangert

HTML

<div>
    <h1>
            Überschrift
            </h1>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
  </div>
  <div>
    <h1>
            Überschrift
            </h1>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
  </div>
  <div>
    <h1>
            Überschrift
            </h1>
    <figure>
      <img class="img" src=http://via.placeholder.com/150x150 />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
    <figure>
      <img class="img" src="http://via.placeholder.com/150x150" />
      <figcaption>
        <a href="#">TEST</a>
      </figcaption>
    </figure>
    </div>

CSS

@font-face {
  font-family: 'meine-schrift';
  src: url('Cracked Code.ttf') format('truetype');
}

@font-face {
  font-family: 'meine-schrift2';
  src: url('TheLightFont.ttf') format('truetype');
}

figure {
  background: yellow;
  margin-left: 10px;
  margin-right: 10px;
}

figcaption {
  text-align: center;
}

.img {
  height: 150px;
  width: 150px;
}

body {
  background-color: grey;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

div {
  display: flex;
  flex-direction: column;
  align-items: center;
}