JSFiddle - React, Tailwind, and code Playground

HTML

<div id="container"><p>Hello</p></div>

CSS

#container
        {
            position: absolute;
            width: 200px;
            border: #000 1px solid;
            padding: 10px;
            margin-top: 50%;
        }