JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<ul>
<li><div class="div1">
<a href="/a" class="one">a</a>
<a href="/b" class="two">b</a>
<a href="/c" class="three">c</a>
</div>
<div class="div2">X</div>
</li>
</ul>
</body>
CSS
li
{
width:100%;
position: relative;
}
li a.one
{
float:left;
background:red;
}
li a.two
{
float:left;
background:pink;
}
li a.three
{
display:block;
background:green;
}
.div2
{
position: absolute;
top:0px;
right: 0px;
}