JSFiddle - React, Tailwind, and code Playground
by dirtyd77
HTML
<div class="slide-left">Left</div>
<div>
<div class="slide-right">Right</div>
<div>to the right of right</div>
</div>
CSS
div{width:100px; position:relative;}
JavaScript
$(function(){
$(".slide-right")
.css("right",$(this).width())
.delay(400)
.animate({
right:0
}, 900);
});