JSFiddle - React, Tailwind, and code Playground

by notme

HTML

<body>
    <div id="a"></div>
    <div id="b">
        <textarea></textarea>
    </div>
</body>

CSS

#a {
    height: 10000px;
    background: linear-gradient(red, blue);
}
#b {
    position: fixed;
    bottom: 20px;
    left: 10%;
    width: 100%;
    height: 300px;
    top: 20px;
}
textarea {
    width: 80%;
    height: 300px;
}