JSFiddle - React, Tailwind, and code Playground

by jonahe

HTML

<div class="cuepoint-overlay">
  <div class="cuepoint-content-container">
      <div>
      h4gw4
      </div>
  </div>
</div>

CSS

.cuepoint-overlay {
  position: absolute;
  background: tomato;
  width: 100vw;
  height: 100%;
  overflow: hidden;
}

.cuepoint-content-container {
  position: relative;
  top: 50%;
  left: 50%;
  width: 100%;
}