JSFiddle - React, Tailwind, and code Playground

by Nikhil krishnan

HTML

<div class="parent">
  <span class="child"></span>
  <span class="child"></span>
  <span class="child"></span>
</div>

CSS

*{
  padding:0;
  margin:0;
}

body{
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parent{
  width: 70vw;
  height: 70vh;
  margin: auto;
  border: solid 1px black;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.child{
  width: 50px;
  height: 50px;
  background-color: black;
}