JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
</head>
<body>
<div>
<p>
Toggle the div's position declaration to anything other than "static"
</p>
</div>
</body>
</html>
CSS
body {
height: 100%;
width: 100%;
background: red;
}
div {
background: black;
height: 300px;
width: 200px;
position: fixed;
padding: 0;
}
p {
background: white;
color: black;
display: inline;
position: absolute;
bottom: 0;
left: 0;
}