JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://tanks.mail.ru/themes/default/js/jquery.rYouTube.min.js"></script>
<input type="button" id="clickme" value="clickme" />

<script>
$('#clickme').click(function(){		
   $myStyle =  {'margin'          : 'auto',
                 'top'             : 0,
                 'bottom'          : 0,
                 'left'            : 0,
                 'right'           : 0,
                 'width'           : 400+'px',
                 'height'          : 400+'px',
                 'transform-origin': '50% 50%' + (-205) +'px'
               }

	$(this).css($myStyle); 
});
    
</script>