JSFiddle - React, Tailwind, and code Playground

by Anton Fedoryan

HTML

<div class="container">
  <div class="block1">1</div>
  <div class="block2">2</div>
  <div class="block3">3</div>
</div>

CSS

div
{
  text-align: center;
  font-size: 45px;
  font-weight: bold;
  color: #efdbca;
}

.container
{
  width: 700px;
  height: 400px;
  border: 1px solid #cea321;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  align-content: space-around;
}

.block1
{
  width: 200px;
  height: 300px;
  line-height: 300px;
  background-color: #ace123;
}

.block2,
.block3
{
  width: 450px;
  height: 150px;
  line-height: 150px;
  background-color: #fdb654;
}