JSFiddle - React, Tailwind, and code Playground

HTML

<div class="button"><div class="alt">Click here now!</div></div>
<br>
<br>
<br>
<br>
It has to look like this (the alt must have a auto width)
<div class="button"></div>
<div style="background-color:blue; display:inline-block;">Click here now!</div>

CSS

.button{
    width:10px;
    height:10px;
    background-color:red;
    position:relative;
}
.alt{
    position:absolute;
    background-color:blue;
    bottom:-53px;
}