JSFiddle - React, Tailwind, and code Playground
HTML
<br /><br /><br /><input type='text' id='t' /><a href='#'>link</a><input type='text' />
CSS
input {
display: block;
}
a {
position: absolute;
}
JavaScript
$(function() {
$('a').css({
top: $('#t').offset().top,
left: $('#t').offset().left+($('#t').width()-$('a').width())
});
});