JSFiddle - React, Tailwind, and code Playground

by Saurabh Khemka

HTML

<div class="test">

</div>

CSS

.test {
  width: 75px;
  height: 75px;
  border: 1px solid red;
  position: fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
}