JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <div></div>
</div>

CSS

div {
    position: relative;
    width: 400px;
    height: 1000px;
    margin: 0 auto;
    background: #ccc;
}

div div {
    position: absolute;
    top: 0;
    right: -100px;
    width: 100px;
    height: 100px;
    background: #333;
}