JSFiddle - React, Tailwind, and code Playground
HTML
<div id="m">hello</div>
CSS
#m {
width:100px;
height:100px;
background:#999;
position:absolute;
top:0;
left:0;
-webkit-transform:translateY(100px);
}
JavaScript
$('#m').on(
'click',
function(){
$(this).css('-webkit-transform','translateY(+=200px)');
}
);